|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Math.ceil(number) is from JavaScript. Is there a VBScript analog?
|
|
#2
|
||||
|
||||
|
There is not a direct analogue, but you can write a function to do it pretty easily.
http://www.visualbasicforum.com/showthread.php?t=8680 has a function in it that you can modify to use.
__________________
--Dave-- U2kgSG9jIExlZ2VyZSBTY2lzLCBOaW1pdW0gRXJ1ZGl0aW9uaXMgSGFiZXM= |
|
#3
|
|||
|
|||
|
Yes, but they all are so artificial, like mine. I wrote a similar function myself, just wanted to know if there a faster way to do that.
Anyway, Thanks a lot. I learned a few algorythms I wouldn't make up myself. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Is there an analog of 'ceil' function in VBScript? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|