Rounding Numnbers 
Author Message
 Rounding Numnbers

How do I round numbers to the nearest number



Sat, 08 Mar 2003 03:00:00 GMT  
 Rounding Numnbers

No offense, but that question is too easily answered simply by checking the documentation...

The docs are on line (the .htm links) and downloadable (the .exe links)...

VBScript Documentation
http://msdn.microsoft.com/scripting/vbscript/techinfo/vbsdocs.htm
http://msdn.microsoft.com/scripting/vbscript/download/vbsdoc.exe

JScript Documentation
http://msdn.microsoft.com/scripting/jscript/techinfo/jsdocs.htm
http://msdn.microsoft.com/scripting/jscript/download/jsdoc.exe

WSH Documentation
http://msdn.microsoft.com/scripting/windowshost/docs/reference/defaul...
http://msdn.microsoft.com/scripting/windowshost/wshdoc.exe

WSC Documentation
http://msdn.microsoft.com/scripting/scriptlets/serverdocs.htm
http://msdn.microsoft.com/scripting/scriptlets/wscdoc.exe

--
Michael Harris
Microsoft.MVP.Scripting
--


Quote:
> How do I round numbers to the nearest number



Sat, 08 Mar 2003 03:00:00 GMT  
 Rounding Numnbers

Use the Cint function.  And do try and read ur documentation.


Quote:
> How do I round numbers to the nearest number



Sat, 08 Mar 2003 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Round buttons round forms

2. How to use round like Math.round(12.3*0.22,2) in Jscript...

3. Rounding up

4. Rounding errors in Postscript: How bad?

5. Rounding Postcript Fonts...

6. Rounding Corners

7. Rounding errors on LaserWriter II?

8. What effect do brackets round a variable have?

9. round to a number of decimals

10. Brackets round a variable

11. round numbers in javascript

12. Rounding numbers and decimals

 

 
Powered by phpBB® Forum Software