How to print 5 precision float in c++ Code Example
how to print 5 precision float in c++
#include
#include
using namespace std;
int main()
{
// This code helps you to print a number with desired decimal
double Number=10.3454;
printf("%.3lf",Number);
return 0;
}