String format

Explanation
If you want to convert a number to a string you can use the string function, but that function automatically rounds your number to 2 decimal places. If you want to have more control about how your number ends up looking you can use string_format. Tot is the total length of the output (spaces are added to the beginning of the number to get to this number) and dec is the total amount of decimal places (0's are added at the end to get to this number)

Examples
val=100.1234567 str=string_format(val,2,10) //str="100.1234567000" str=string_format(val,5,5) //str="100.12345" str=string_format(val,10,2) //str="   100.12" str=string_format(val,1,2) //str="100.12"