lbrocka Posted March 24, 2001 Share Posted March 24, 2001 Hi there, I'm rather new at this and attempting to round the results of a calculation. I am taking a number times a factor and need the result to be rounded to the nearest .25. Any assistance would be greatly appreciated. Thanks Link to comment Share on other sites More sharing options...
BobWeaver Posted March 25, 2001 Share Posted March 25, 2001 Since the built-in Round() function only rounds to a power of 10, you have to do a bit of extra messing around: Round(Round(YourCalculationResult * 4,0) / 4, 2) Link to comment Share on other sites More sharing options...
lbrocka Posted March 31, 2001 Author Share Posted March 31, 2001 Thanks, I'd tried everything I could think of. I'm getting back to this project today, kind of got sidetracked messing around with osx this week. One other question, can anyone recommend a good site for learning a little more advanced scripting? Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 8617 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