$price += 0;
... after the regex replacement. I've seen similar problems before with the informix database. The DBD driver seems to treat values differently if the last operation on a variable treated it like a string rather than a number.
In reply to Re: Bizzare comma bug
by Anonymous Monk
in thread Bizzare comma bug
by simonodell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |