Question
When mapping, I would like to output a specific number with a prefix of 0 for a specified number of digits, such as "123" to "0000000123".
Answer
You can use the [Format Number] logic to output a specified number in a specified format.
By setting "0000000000" in the [Format] field of the [Format Number] logic, you can store the input data "123" as "0000000123" in a string-type script variable.
For details on the Format Number logic, please refer to the manual below.
Decimal Format
https://www.hulft.com/help/en-us/HULFTSquare/Content/Designer/Mapper/DecimalFormat.htm
Comments
0 comments
Article is closed for comments.