Web Programming

Only members of this group can post notes and use other group resources. Join now to get access to all group resources!
Log in or register to join this group

Classic ASP Int() vs CInt() in ASP  Viewed 26799 time(s), 2 post(s)., 1/8/2014 3:43:32 AM - by Steve

Steve
Steve 1/8/2014 3:43:32 AM

What is the difference between Int() and CInt() in Classic ASP?

This content has not been rated yet. 
31 Reputation 2 Total posts
1
Sam
Sam 1/9/2014 3:21:14 AM

int() returns the integer part of the specified number

Cint() converts the expression to type integer

Int(3.8) = 3
cint(3.8) = 4

This content has not been rated yet. 
233 Reputation 37 Total posts
2