otplib-utils/leftPad

Do a left padding if value's length less than total

Source:
Parameters:
Name Type Description
value integer

the original value

length integer

the total length of the string

Returns:
Type:
string