Home
Search
Tell a Friend
ABS() Array() ASC() CHR() CInt() CStr() Date() DateAdd() DateDiff() DatePart() DateSerial() DateValue() Day() Fix() FormatCurrency() FormatDateTime() FormatNumber() FormatPercent() Hour() InStr() InStrRev() Int() IsArray() IsDate() IsEmpty() IsNull() IsNumeric() IsObject() Join() LBound() LCase() Left() Len() LTrim() Mid() Minute() Month() MonthName() Now() Replace() RGB() Right() Rnd() Round() RTrim() Second() Space() Split() Sqr() strComp() String() StrReverse() Time() TimeSerial() TimeValue() TypeName() UBound() UCase() VarType() WeekDay() WeekDayName() Year()
|
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
|