Decimal floating point number to binary: Difference between revisions

m
→‎{{header|REXX}}: removed a duplicate comment. -- ~~~~
(→‎{{header|REXX}}: added more error checking, changed the manner in which errors are displayed, added comments to the REXX section header. -- ~~~~)
m (→‎{{header|REXX}}: removed a duplicate comment. -- ~~~~)
Line 12:
<br>Negative bases are also supported &nbsp; (which won't be explained here).
<lang rexx>/*REXX programs converts any number in a base to another base; bases≤242*/
/*REXX programs converts any number in a base to another base; bases≤242*/
parse arg number toBase inBase digits .
if toBase=='' | toBase==',' then toBase=10 /*Specified? No, use default*/