/******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <iostream>
#include <iomanip>
int main()
{
float num = 654.99f;
char numStr [999];
std::sprintf(numStr, "%f", num);
std::cout<<numStr<<std::endl;
std::cout << std::fixed << std::setprecision(16) << num <<std::endl;
return 0;
}