Minimum Digits in Value

Hi Forum,
I am using a TCP Connection to send data by a predefined protocol to a hardware.
I have to send a value in between 0 and 255.
Lets say the value is 0, I have to make sure that it sends 000 not just 0.
So I have sth like a minimum amount of digits…
Not very complex, but as beeing new to vvv I have my problems solving this.

Thanks in advance!


Pad (String) is your friend:

Padding set to 0
Size set to 3
Align set to Right

Should do just that

or FormatValue (String) which gives you a lot more options

Ah great thanks a lot! Pad just did what I needed!