Numeric separator syntax: Difference between revisions

→‎{{header|REXX}}: added a way for REXX programs to use number separators.
m (→‎{{header|REXX}}: added some wording.)
(→‎{{header|REXX}}: added a way for REXX programs to use number separators.)
Line 344:
+ 4500
- 1719
 
 
There is a way to work around such that blanks or commas could be used within a REXX program with a bit of coding:
<lang rexx>pi= 3 . 14159 26535 89793 23846 26433 83279 50288 41971 69399 37510 58209 74945
pi= 3 . 14159_26535_89793_23846_26433_83279_50288_41971_69399_37510_58209_74945
pi = space( translate(pi, , ",_"), 0)</lang>
 
─── where the last REXX statement will translate (change) any number of separator characters into blanks, &nbsp; and
<br>remove all blanks from the "number".
 
=={{header|Ruby}}==