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.


Comments to: jstl-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.