Raised This Month: $ Target: $400
 0% 

Limiting decimal part of a float.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
01101101
BANNED
Join Date: Nov 2009
Location: 9`su 09`n0n7e`r0f76a
Old 12-30-2009 , 10:50   Re: Limiting decimal part of a float.
Reply With Quote #6

Quote:
Originally Posted by ehha View Post
I'm not sure what 0 does, but if you want 15 digits after "." and X digits before use %X.15f, if %0.15f fails.
0 means no limit. If I used

%1.1f it will show 1 absolute digit, 1 decimal digit.
01101101 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode