The 'xx' is masking.

'2' is effectively similar to an OCONV(value,'MD2') ;* show 2
decimals, scale 2
'02' is effectively similar to an OCONV(value,'MD02') ;* show 0
decimals, scale 2

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Barry Brevik
Sent: Tuesday, October 12, 2004 5:07 PM
To: U2-users (E-mail)
Subject: [U2] [UV] Typo leads to discovery of new feature

I was writing some test code when a slip of the fingers resulted in
some wierd syntax, which then proceded to compile, and produced some
interesting output.

Anybody have any idea what this code thinks it is doing?

PRINT 10.2
PRINT 10.'2'
PRINT 10.'02'

program output:
10.2
10.00
1000
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to