I am aware that I can use the following code to restrict my number to two decimal places (eg 99.99):
round(float(Value_Inputs.Text)*100)/100
However, numbers with zeros after the decimal do not display as expected, for example:
12.00 displays as 12
12.50 displays as 12.5
SO, how do I go about keeping the trailing zeros?
Thanks
EDIT: I saw a solution here: https://www.construct.net/en/forum/construct-2/how-do-i-18/decimals-zeros-shown-50800 but I tried it and it just seems to make everything round to .00 ...eg 12.5 becomes 12.00 which is not what I want.