SET @newNum = IF(
RIGHT("-600.00",1) REGEXP '^[-]' = '-',
REPLACE("-600.00",",",""),
-1*REPLACE(REPLACE("-600.00",",",""),"-","")
);
I keep getting a truncated incorrect DOUBLE value: '-' when executing this line, anyone know what is causing this ?