#377 FORMAT bif isn't normalizing correctly

open
5
2012-08-27
2012-08-27
No

The FORMAT bif isn't normalizing correctly for:

y=8.0

say format(y) /*correctly formatted, shows 8.0.*/
say format(y,,,,0) /*shows 8*/

The IBM (CMS) documentation says the number is normalized, just as though the
operation "number+0" had been carried out.

Regina's documentation says the number if normalized according to NUMERIC (sic).
_______________________________________ Gerard Schildberger

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks