BasedStr$

 

Purpose:

Returns the value to any radix.

Parameter:

Number       Value.

Number       Radix (2 to 36).

Number       (optional) Minimum length of the string (without optional prefix). 0 for the minimal length (Default).

Boolean       (optional) Defines if a prefix ('0b' for radix 2, '0o' for radix 8, '0x' for radix 16) is inserted before the string (Default: False).

Return value:

String

Example:

BasedStr$ (1,2,1,True)         Result: 0b1