Newbies eddieleavens Posted April 26, 2001 Newbies Posted April 26, 2001 I have a brain cramp. How do I force "round" to round up? i.e. if an event is timed at 62 seconds, and I need it invoiced in increments of 10 seconds, the round command on 62 seconds gives me a result of 60 <<round(duration / increment)*increment>>. How do I get around this? I want the result to be 70 seconds. Please help ! Thanks, Ed.
miramaya Posted April 27, 2001 Posted April 27, 2001 I assume you want to round to 70 for all values [=>61]. Try this Round((duration/increment)+4,-1)*increment. Regards.
Recommended Posts
This topic is 8652 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now