AddaByte    Programmers' Script Repository
Free and low cost software.
spacer
Find out about our beautiful fractal backgrounds at abm-enterprises


Newsletter Signup
Name
Email
 

  Access 97 - Round to n Decimal Places
 


Save up to 75% on software

Drive Clone

the best name in hosting


Function RoundN(x, N As Integer)
'---------------------------------------------------------------------------------'
' Rounds a number to N decimal places
' Uses arithmatic rounding
' N should be in the range 0-10 for proper results
'---------------------------------------------------------------------------------'
    Dim Factor As Long
    Factor = 10 ^ N
    RoundN = Int(x * Factor + 0.5) / Factor
    
End Function
  What does it do?
   no description given
 
  Features
  Added by Added Downloads Rating Popularity

  rpgivpgmr

11:33:34 AM Thursday, January 22nd 2009

12

not rated

 
 
  About the file
  Size Download Rate It  

  481 KB
  download this file
 
 
  Comments
no comments
 
  Add your comment
 Email  
 Subject  
 Comment  
 Verification code:

 
    All comments are screened by the admin prior to being posted
     
 
  Contacts
  Report Abuse