[Solved]Display integer value with a decimal point
Posted: Thu Apr 25, 2024 10:05 am
Hello,
Is there a way to display integer value with a decimal point? It's like you can place decimal point anywhere in the integer value for display purposes.
For example.
Is there a way to display integer value with a decimal point? It's like you can place decimal point anywhere in the integer value for display purposes.
For example.
Code: Select all
default var= 100
screen TestScreen():
text "[var]" xalign 0.5 #here show as if the value is being displayed as 1.00 instead 100