yarub Posted August 11, 2006 Share Posted August 11, 2006 When my script prints out 23.4739575, it somewhat annoys me. I want it to just show positive integers. I want it to display as 23 without anything else. If it prints out 5494.5888, I want it to display as 5494. Can anyone help me out? Link to comment https://forums.phpfreaks.com/topic/17293-remove-decimal-leading-numbers/ Share on other sites More sharing options...
AndyB Posted August 11, 2006 Share Posted August 11, 2006 http://ca.php.net/manual/en/function.intval.php .... INTeger VALue Link to comment https://forums.phpfreaks.com/topic/17293-remove-decimal-leading-numbers/#findComment-73380 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.