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? Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.