formatting doubles

bergedorfcacher
06 Jul 2016, 11:58

For example I need to display a double value of 1.0 in a message as "001.00". Is there a format function available for such things? I couldn't find anything in the forums. The closest I found was this: http://textadventures.co.uk/forum/quest/topic/5349/begging-for-cash

I know I can code that myself, so don't waste time in showing me how. :-) I'd just rather save the time IF there is something that I can just use.


Jay Nabonne
06 Jul 2016, 15:26

As far as I know, there is not an existing function that will do what you want (especially not for something like that with leading zeros).


bergedorfcacher
06 Jul 2016, 16:46

OK, thanks for the confirmation.