Variable size/Set: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: minor correction (remove an extraneous 'is')
m (→‎{{header|REXX}}: expanded the program to include another number, a scale, and more comments.)
Line 399:
<br>can be forced via the &nbsp; '''format''' &nbsp; BIF &nbsp;('''B'''uilt '''I'''n '''F'''unction).
<br><br>The default for &nbsp; ''numeric digits'' &nbsp; is &nbsp; '''9''' &nbsp; (decimal) digits.
<br><br>There's effectively no limit for the precision [or length] for REXX numbers (except for memory), but eight million is probably the practical limit.
<br>but eight million is probably the practical limit.
<lang rexx>numeric digits 100
<lang rexx>/*REXX program demonstrates on setting a variable (using a "minimum var size".*/
abc=12345678901111111112222222222333333333344444444445555555555.66</lang>
numeric digits 100 /*default: 9 (decimal digs) for numbers*/
 
 
/*── 1 2 3 4 5 6 7──*/
/*──1234567890123456789012345678901234567890123456789012345678901234567890──*/
 
abcz = 12345678901111111112222222222333333333344444444445555555555.66</lang>
n =-12345678901111111112222222222333333333344444444445555555555.66
 
/* [+] these #'s are stored as coded. */
/*stick a fork in it, we're all done. */</lang>
 
=={{header|Scala}}==