Non-decimal radices/Convert: Difference between revisions

Content added Content deleted
No edit summary
Line 3,259: Line 3,259:
$num.base($base);
$num.base($base);
}</syntaxhighlight>
}</syntaxhighlight>
These work on any real type including integer types.
These work on any real type including integer types. There is also a build in method/function for Strings: parse-base.


=={{header|REXX}}==
=={{header|REXX}}==