int
FormatProperties
.
TextRadix
Radix for integers (e.g. 2 -> binary, 10 -> decimal, 16 -> hexadecimal).
Example
=
Block
{
TextHeight
:
20pt;
var
x
=
234;
x
;
Paragraph
{
"Base 2 = "
;
TextRadix
:
2;
x
;
};
Paragraph
{
"Base 8 = "
;
Span
{
TextNumPadding
:
8;
TextRadix
:
8;
x
};
};
Paragraph
{
"Base 10 = "
;
Span
{
TextRadix
:
10;
x
};
};
Paragraph
{
"Base 16 = "
;
TextRadix
:
16;
x
;
};
};
//============================================================
234
Base 2 = 11101010
Base 8 =
00000352
Base 10 =
234
Base 16 = ea