double <-> Rexx

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

double <-> Rexx

Mike Cowlishaw-2
By default, all operations in NetRexx are done using decimal
arithmetic, resulting in a string.  You could either use binary
arithmetic (keyword on the class or method), or cast (convert) the
result:

    foo=Math.abs(double  a+1)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Mike Cowlishaw, IBM Fellow, IBM UK Laboratories
mailto:[hidden email]   [http://www2.hursley.ibm.com]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>