Ben Phelps Posted August 1, 2007 Share Posted August 1, 2007 Here is an example. 135874 246884 13579 24680 2568 2668 35 46 i need to round every number in a string up to its next highest even number. is there a way to do this, performance is not an issue, the main script takes about 45 cpu seconds to run. Quote Link to comment https://forums.phpfreaks.com/topic/62787-solved-round-to-even-number/ Share on other sites More sharing options...
Ben Phelps Posted August 1, 2007 Author Share Posted August 1, 2007 I found a way. Quote Link to comment https://forums.phpfreaks.com/topic/62787-solved-round-to-even-number/#findComment-312584 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.