numeric.formatBaseN()

String Converts number to a string, in the base specified by radix. For example: #FormatBaseN(1024,16)#

numeric.formatBaseN( radix=number )

Returns: String

Argument Description
radix
number, required

Base of the result

Examples

writeDump(8889.0.formatBaseN(2));
	writeDump(8889.0.formatBaseN(16));
	writeDump(8889.0.formatBaseN(8));
	writeDump(1024.0.formatBaseN(10));

See also