WinActor

2021.08.10
Libraries
PadNumberWithZeros

Add leading zeros to the specified number of digits.

Please see this precautions upon downloading this library.
Input
"Variable":
Specify a variable which has a numeric value.

"Number_of_digits":
Specify the number of digits of the output value.
* This number of digits includes both added zeros and the digits of the original value.
* When the number of digits is more than 15, the output value will be exponential notation (E+n). Example) Original value: 001, Number of digits: 15, Result: 1E+15
* Number_of_digits must be greater than the number of digits of the original value.

"Result":
Specify a variable to store the output value.
Output
Number with zero padded
Details
[History]
2021/08/10: Initial release
Operating environment
WinActor Ver.6.1.0, Windows10(checked on August, 2021)
Keywords
-