Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to convert floating value to certain decimal place?
Message
From
18/12/2000 20:50:26
 
 
To
07/12/2000 06:20:14
General information
Forum:
Visual C++
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00450284
Message ID:
00454889
Views:
26
>Hi,
> How to convert floating value to certain decimal place (e.g. 10.20) in C++?
>
>Thank you

cout<will set decimal places to whatever value you specify, in the example, 2 decimal places
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform