BaseConvert

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
<Operand> converted from base <Source> to base <Target>
Associationscom.livecode.math
Summary

Converts the base of Operand

Parameters
NameTypeDescription
Operand

An expression that evaluates to a string.

Source

An expression that evaluates to an integer.

Target

An expression that evaluates to an integer.

Values
NameTypeDescription
return

A string representation Operand interpreted as a number in base From, converted to base To.

Description

Interprets a string in the desired source base and converts it to the desired target base, and returns a string representation.

Note: The source and destination bases must be integers between 2 and 32.

Tagsmath