View Single Post

  #1 (permalink)  
Old 05-18-2006
fakefaker123@hotmail.com
 
Posts: n/a
Default ereg_replace question

Hi,
Does anyone know what exactly this does: ereg_replace("[^0-9.]", "",
$value)
would this be responsible for a negative number losing it's minus sign?
e.g, if @value is minus 2300.00 (-2300.00), then after the above
function, is it still = -2300.00?
thanks

Reply With Quote