Decimal comma
Posted by John Toohey on Feb 22, 2011; 8:53pm
URL: https://forum.world.st/Decimal-comma-tp3320024.html
Without changing the OS locale, is there an easy was to have Pharo
recognize a comma as a decimal point, i.e. '2,13' asNumber -> 2,13. I
am receiving number from a Seaside app, in this format, and I need to
convert them before storing them in Postgres. Currently '2,12'
asNumber gives 2.
--
~JT