Displaying decimal numbers as text
omnigame
Member Posts: 4
Hi,
I want to display numbers with decimals (such as 2.0 or 2.5) as text, but GameSalad won't let me. The number 2.0 is displayed as 2, while 2.5 is displayed as 2.50. If I use a comma instead of a period, it works, as long as I put it inside quotation marks, but I want the numbers to be displayed properly.
Please advice. Thank you!
I want to display numbers with decimals (such as 2.0 or 2.5) as text, but GameSalad won't let me. The number 2.0 is displayed as 2, while 2.5 is displayed as 2.50. If I use a comma instead of a period, it works, as long as I put it inside quotation marks, but I want the numbers to be displayed properly.
Please advice. Thank you!
Comments
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
I am using the Display Text behavior on a button. This way I can use different instances of the same image, but have each instance display different numbers,
~CTM