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
value
String to be parsed.
 
Required: false
Request-time: true
Type: java.lang.String
type
Specifies whether the string in the value attribute should be parsed as a number, currency, or percentage.
 
Required: false
Request-time: true
Type: java.lang.String
pattern
Custom formatting pattern that determines how the string in the value attribute is to be parsed.
 
Required: false
Request-time: true
Type: java.lang.String
parseLocale
Locale 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.
 
Required: false
Request-time: true
Type: java.lang.String
integerOnly
Specifies whether just the integer portion of the given value should be parsed.
 
Required: false
Request-time: true
Type: java.lang.String
var
Name of the exported scoped variable which stores the parsed result (of type java.lang.Number).
 
Required: false
Request-time: false
Type: java.lang.String
scope
Scope of var.
 
Required: false
Request-time: false
Type: java.lang.String

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.