Anonymous user
Implicit type conversion: Difference between revisions
m
→{{header|REXX}}: reformatted the comment box.
m (→{{header|REXX}}: added an output section.) |
m (→{{header|REXX}}: reformatted the comment box.) |
||
Line 829:
=={{header|REXX}}==
<pre>
╔═══════════════════════════════════════════════════════════════════════════════════╗
║ The REXX language has conversion,
║
║
║ trailing zeroes (except for zero itself), remove insignificant leading zeroes in ║
║
║
║ Almost all numerical expressions can be normalized after computation, shown below ║
▲║ ║
║
║
║ Note that REXX can store the number with leading signs, leading, trailing, and ║
▲║ ║
║
║ Also noted is how numbers can be assigned using quotes ['] or apostrophes ["]. ║
╚═══════════════════════════════════════════════════════════════════════════════════╝
▲║ quotes or apostrophes). ║
</pre>
<lang rexx>/*REXX program demonstrates various ways REXX can convert and/or normalize some numbers.*/
|