SetMinLength
Sets the minimum length formatting setting of an integer.
Syntax
-
SetMinLength(n, k)-
nis an integer -
kis a non-negative integer
-
Description
SetMinLength(n, k) returns n with its minimum length formatting setting set to k, so that the result will be formatted with at least k digits, using trailing zeros if necessary.
Examples
SetMinLength(SetNumberBase(16#33CCFF, 16), 8)
0033CCFF
SetDigitGrouping(SetMinLength(SetNumberBase(16#33CCFF, 2), 32), 8)
00000000 00110011 11001100 11111111