BaseConvertTo

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

Converts the base of Operand

Parameters
NameTypeDescription
Operand

An expression that evaluates to an integer.

Target

An expression that evaluates to an integer.

Values
NameTypeDescription
return

A string representation of Operand in base Target.

Description

Converts a decimal into the desired base, and returns a string representation.

Note: The destination base must be an integer between 2 and 32.

Tagsmath