Folks,
If I have a number that includes decimal points and I want to remove
everything right of the decimal, how do I do it - I know I could explode
using the point as a delimiter but that doesn't look legal.
I've tried
$t=1.532;
$y=int($t);
but that didn't work out for me...
any ideas?
thanks
randelld
Comment