|
|
|
|
|
| | |
|
vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: Changing a negatine number to a positive |
From: |
Tim |
Date: |
7/11/1999 11:36:28 AM |
IP: |
208.168.160.67 |
Use the Abs() function to determine the absolute value of your numeric expression. This will ensure that the value is always positive.
Examples:
Response.Write(Abs(-253.45))
or
YourVar = -253.45
Response.Write(Abs(YourVar))
|
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|