JSTL fmt
Tag parseNumber


Parses the string representation of a number, currency, or percentage


Tag Information
Tag Classorg.apache.taglibs.standard.tag.rt.fmt.ParseNumberTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
valuefalsetruejava.lang.StringString to be parsed.
typefalsetruejava.lang.StringSpecifies whether the string in the value attribute should be parsed as a number, currency, or percentage.
patternfalsetruejava.lang.StringCustom formatting pattern that determines how the string in the value attribute is to be parsed.
parseLocalefalsetruejava.lang.StringLocale whose default formatting pattern (for numbers, currencies, or percentages, respectively) is to be used during the parse operation, or to which the pattern specified via the pattern attribute (if present) is applied.
integerOnlyfalsetruejava.lang.StringSpecifies whether just the integer portion of the given value should be parsed.
varfalsefalsejava.lang.StringName of the exported scoped variable which stores the parsed result (of type java.lang.Number).
scopefalsefalsejava.lang.StringScope of var.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.