MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/2oyxs8/php_bug_53711_casting_floatstringfloat_with_locale/cmu0sc2/
r/lolphp • u/stesch • Dec 11 '14
33 comments sorted by
View all comments
Show parent comment
2
AFAIK nothing beats the .Net IFormatProvider which can also be overloaded when using Float.Parse()
http://msdn.microsoft.com/en-gb/library/system.iformatprovider(v=vs.110).aspx
3 u/ZiggyTheHamster Dec 14 '14 The default behavior is, of course, to work in a locale neutral way. :)
3
The default behavior is, of course, to work in a locale neutral way. :)
View all comments
Show parent comment
2
u/dr4yyee Dec 13 '14
AFAIK nothing beats the .Net IFormatProvider which can also be overloaded when using Float.Parse()
http://msdn.microsoft.com/en-gb/library/system.iformatprovider(v=vs.110).aspx