ghkweon / dwscript

Automatically exported from code.google.com/p/dwscript
0 stars 0 forks source link

Improve float.ToString() to support formatting parameters #430

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I need to convert float values to string using "." as decimal separator, no 
matter what the locale settings are. So it would be nice if the 
float.ToString() would have overload which takse decimal separator as a 
parameter, ie

 var foo: Float = 3.14;
 var strVal = foo.ToString('.');

Other parameters like precision specifier would be nice too.

Original issue reported on code.google.com by ain.val...@gmail.com on 17 Aug 2013 at 1:27

GoogleCodeExporter commented 8 years ago

Original comment by zar...@gmail.com on 24 Sep 2013 at 6:35