convert. Converting number from one base to another [3.4.1]

^math:convert[number](base-from;base-to)

Method converts number from one base to another.

Numbers can range
- 32 bits, to 0xFFFFFFFF.
- 64 bits, to 0xFFFFFFFFFFFFFFFF.   [3.4.4]

Example
^math:convert[255](10;16)

…returns FF string


Copyright © 1997–2017 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 04.04.2016