saving . . . saved about to print float value with precision has been deleted. about to print float value with precision has been hidden .
about to print float value with precision
Title
Question
How to print float value in c++ with precision.

C-and-Cpp First-Cpp-Program 06-07 min 10-20 sec 15-02-20, 12:01 p.m. vijaydvk

Answers:

we can print float numbers with fixed size in c++ by using following io manipulators:
std::fixed and std::setprecision(int), for using this, we need to include <iomanip> header file in c++ source code

15-02-20, 1:59 p.m. vijaydvk


Log-in to answer to this question.