|
-
Mar 18th, 2005, 07:47 PM
#1
Thread Starter
Fanatic Member
Rounding to Halves?
Can anyone think of a good way to do this? I'm struggling.
I'm trying to write a function that will round a number to an integer or .5 for example:
3.2342 would round to 3.0
3.3453 would round to 3.5
3.6345 would round to 3.5
3.7666 would round to 4.0
you know what I mean?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|