Is there any other way to do this.
echo intval(eregi_replace('^(-)*', '', -33.3)) #result 33
echo abs((int)-33.3);
Knew it had to be simpler.
Thank you.