Domain Name Forum
>
Web Design & Development
>
Programming
>
C++
> Simple Double Question
PDA
View Full Version :
Simple Double Question
C++
04-23-2010, 08:42 AM
How do I truncate double like 99.998765 to something like 99.99 instead of 100.00? If some printf("%.2f", myDouble); gives 100 That is not what I want. Any help is appreciated
vBulletin® v3.8.2, Copyright ©2000-2026, Jelsoft Enterprises Ltd.