How do i strip the decimal point plus the digits followed by.
Suppose any no which has a decimal
e.g.
$s = 123456.10;
now i want to get rid of .10, how do i do tht. I tired substr but the problem is tht when i code it
$s = substr($s, -3);
i get .10
But i dont want .10 i want the no 123456
Please help, how do i do it??????????
Thanx a lot