
-----------------------------------
MihaiG
Thu Jan 06, 2005 6:36 pm

Rounding
-----------------------------------
is ther any way to make a prcedure that rounds a number to the nearcest digit??

-----------------------------------
Cervantes
Thu Jan 06, 2005 6:47 pm


-----------------------------------
To the nearest digit?  Umm...  round(r : real) : int

-----------------------------------
xHoly-Divinity
Thu Jan 06, 2005 7:01 pm


-----------------------------------
use :1:n

e.g.

put 53.423:1:2    