05-10-2010 02:58 PM
I need to round a figure say 3.2 up to the nearest 0.5 so it will become 3.5 but i do not know how to do so as it always round to the nearest integer, from 3.2 to 4.
Need to know how to do round to 0.5
Pls help.
Ty
05-10-2010 03:12 PM
This will roundup anything above 3 but below 3.5 to 3.5. From 3.5 to 4, it rounds up to 4.0. However, due to representation errors, sometimes a .5 rounds up to the next integer, sometimes it doesn't. For example, 10.5 will remain 10.5, but 9.5 will round up to 10. At least that is how it does on my system.
05-10-2010 03:35 PM
Double. Round up. Divide by 2.
Lynn
06-12-2012 06:51 AM
And how to round to the nearest 0.5 multiple:
3.2 -> 3
3.6 -> 3.5
3.8 -> 4
06-12-2012 06:58 AM
06-12-2012 07:04 AM
Thank you, very useful!
06-12-2012
07:10 AM
- last edited on
03-28-2025
02:46 PM
by
Content Cleaner
For the record MGI Librairies have this function and much much more.
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus