How to turn 1 digit numbers into 2 digits? (1 -> 01) [SOLVED]

I want to make it so that if a number is 1 digit long, a zero is added (5 → 05).
please help.

5 / 10 = 0.5

IF you are talking about ACUTAL NUMBER you cannot have 0 on left if there is NO period or any different digit

If you would display it in text object and your number is variable called Score and you want it to add 0 if there is one digit then

StrRepeat("0",2-StrLength(Score))+Score

thank you :slight_smile: :slight_smile: :slight_smile: :slight_smile: :slight_smile: :slight_smile: :slight_smile: :slight_smile: :slight_smile: :slight_smile: :slight_smile: :slight_smile: :slight_smile: :slight_smile: :slight_smile: