FormatPercent()
Purpose:
Returns an expression formatted as a percent value with a trailing percent (%).
DataType:
String
Syntax:
FormatPercent(Expression [, Digit [, LeadingDigit [, Paren [, GroupDigit]]]])
Arguments:
"Expression" is a valid numeric expression;
"Digit" is an optional numeric value used to indicate number of digits to the right of the decimal point;
"LeadingDigit" is an optional tristate value to display a leading zero;
"Paren" is an optional tristat
Sample:
response.write FormatPercent(0.45324567, 3)
Result:
45.325%

Date Added: 1/9/2001

DataTypes Data Types SQL


Back To Top
© 1998 - 2024 psacake.com
Version 7.21 | Advertise on this site