[Tutor] Rounding to n significant digits? (original) (raw)
Alan Gauld alan.gauld at blueyonder.co.uk
Fri Jul 2 03:15:42 EDT 2004
- Previous message: [Tutor] Rounding to n significant digits?
- Next message: [Tutor] Rounding to n significant digits?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
================================ round( x[, n])
Return the floating point value x rounded to n digits after the decimal ... So that won't do it. "rounded to n digits AFTER the decimal point".
Oops, sorry I got caught out too.
I don't know of anything that rounds to n significant digits. Looks ike you need to roll your own, although a quick search on Google or the Vaults of Parnassus might be worthwhile first since its a non trivial task...
Alan G.
- Previous message: [Tutor] Rounding to n significant digits?
- Next message: [Tutor] Rounding to n significant digits?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]