Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Function LPad or RPad

Hello,

I have to use Lpad function beacause i must convert a number with two characters (ex. 9 to 09).

I did not found it? Can Anyone help me, please?

Francesco

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

if your field is myField and you need a string of 10 characters:

repeat('0', 10-len(myField)) & myField

Hope it helps

View solution in original post

4 Replies
abeyphilip
Creator II
Creator II

Hi Francesco,

Please try this:

=num(9,'00')

regards,

Abey

alexandros17
Partner - Champion III
Partner - Champion III

if your field is myField and you need a string of 10 characters:

repeat('0', 10-len(myField)) & myField

Hope it helps

Not applicable
Author

Thank you Alessandro.

It is a correct solution.

Francesco

alexandros17
Partner - Champion III
Partner - Champion III

Can you please mark the answer as correct?

Thank you