toRadix
Description: Converts the Subject from a Base 10 number to a different Radix (or number base). An optional second argument can be used to indicate the minimum number of characters to be used. If the converted value has fewer than this number of characters, the number will be padded with leading zeroes. If a decimal is passed as the subject, it will first be converted to a whole number and then processed.
Subject Type: Number
Arguments:
-
Desired Base : A Number between 2 and 36 (inclusive)
-
Padding : Optional argument that specifies the minimum number of characters in the converted output
Return Type: String
Examples: If the "fileSize" attributes has a value of 1024, then the following Expressions will yield the following results:
Expression |
Value |
|
|
|
|
|
|
|
|
|
|
|
|
|
|