Make a integer from a float


Function round (x As Single, n As Integer) As Single

    round = Int(x * 10^n + .5) / 10^n

End Function



Mail to Daniel Wiman <daniel@wimania.com>
Online since June 1996, updated 980315
<- The VB home
<- Daniels homepage