Welcome to my ASP Code Website

ASP Math and Number Functions



ASP is a great language for web development, and it has many math and numerical functions to help make your life even easier.

RND / Randomize
You need to use both RND and Randomize to create truly random numbers for your scripts.
More about RND and Randomize

Round
Round lets you round a number off to a certain number of decimal points.
More about Round

cInt
If a user passes in a text string that contains numbers, you can use cInt to change those values from a text type to a numeric type.
More about cInt

Int
Don't confuse Int with cInt! cInt turns a text variable into a numeric variable. Int takes a number and chops off any decimal points, turning it into a whole number.
More about Int

Mod
With the mod function, you can determine the remainder of a division problem.
More about Mod

ASP Function List