intfiction.org

The Interactive Fiction Community Forum
It is currently Fri Oct 19, 2018 9:42 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 31 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
PostPosted: Fri Sep 14, 2018 12:15 pm 
Offline

Joined: Tue Mar 09, 2010 2:34 pm
Posts: 5384
Location: Burlington, VT
I didn't think that the trailing zeroes issue with real numbers was a bug--I would generally expect 3.20 to display as 3.2 when printing a real number.

Is the idea that saying "say 3.20 to two decimal places" should force printing two digits after the decimal point? The current behavior seems consistent with the docs; WwI §15.4 says that "[1.235 x 10^-7 to 3 decimal places]" produces 0.0, which does imply that you won't get trailing zeroes even if it would be required to fill out the decimal places.


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 31 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: VictorGijsbers and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group