Talk:Formatted numeric output
Appearance
Poorly named?
I was expecting this page to be about initializing memory, like C's memset(addr, 0, len);
Perhaps a better page name for formatted numeric output? --IanOsgood 13:31, 29 May 2007 (EDT)
I agree with the above completely, so I've renamed it. --Charles Childers 9 June 2007
What to display?
Some implementations only display the single number "00007.125" as specified in the task description. Others display many different format options. Which one should it be? --PauliKL 14:52, 2 April 2009 (UTC)
- I suppose that "Express a number in decimal as a fixed-length string with leading zeros" is the guide, so it is enough to show "007.125" (i.e. show how to specify a fixed-length output string and the fact that leading zeros must fill the room) --ShinTakezou 15:08, 2 April 2009 (UTC)
FYI: Algol68 run-time error
FYI: Algol68 run-time error MacOS (a68g from MacPorts)
a68g --version Algol 68 Genie 3.5.10
14 printf(($zzzz-d.ddddedl$,r)); 1 a68g: runtime error: 1: error transputting sign in REAL value, in [] "SIMPLOUT" collateral-clause starting at "(" in this line.
- Thanks Retired Build Engineer, it appears that the sample worked with ALGOL 68 Genie version 1 but not with some releases of versions 2 and 3.
- I've tweaked the formats/examples, so it should work now...
- --Tigerofdarkness (talk) 19:41, 8 January 2025 (UTC)
Thank you!