i have an algorithym that gives back a number with a decimal point (I.E. ".57"). What I would like to do is just get the "57" without the decimal.
I have used eregi_replace and str_replace and neither worked!
$one = ".57";
$two = eregi_replace(".", "", $one);
print $two;