g
Printer Friendly Version

editor  
BellaOnline's ASP Editor
 

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

Introduction to ASP Ebook

Download this ebook to get everything you need to know about learning ASP - from a step by step tutorial to function lists, sample code, common errors and solutions, and much more! 101 pages.

This site needs an editor - click to learn more!

ASP Site @ BellaOnline
View This Article in Regular Layout

Content copyright © 2013 by Lisa Shea. All rights reserved.
This content was written by Lisa Shea. If you wish to use this content in any manner, you need written permission. Contact Editor Wanted for details.



| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2014 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor