About Store Forum Documentation Contact
Donations:
345$/mo



Post Reply 
[solved] Displaying floats
Author Message
Azriel Offline
Member

Post: #1
[solved] Displaying floats
Hi,
what do I have to do to limit numbers after decimal point? I want to display float like 2.50 instead of 2.500.
(This post was last modified: 11-26-2015 02:39 PM by Azriel.)
11-26-2015 11:56 AM
Find all posts by this user Quote this message in a reply
Zervox Offline
Silver Supporter

Post: #2
RE: Displaying floats
I think TextReal(variable,2) is what you want.
(This post was last modified: 11-26-2015 12:06 PM by Zervox.)
11-26-2015 12:06 PM
Find all posts by this user Quote this message in a reply
Azriel Offline
Member

Post: #3
RE: Displaying floats
Yup, that's exactly what I needed. No idea how I missed it reading documentation >.< Thanks smile
11-26-2015 02:38 PM
Find all posts by this user Quote this message in a reply
Post Reply