parseNumber"
From Documentation
(Created page with "{{ZUMLReferencePageHeader}} The default method: <source lang="java"> Number parseNumber(String source, String pattern); </source> :i.e., <javadoc method="parseNumber(java.lang...") |
m |
||
Line 11: | Line 11: | ||
Parses text from the beginning of the given string to produce a number with the given pattern. | Parses text from the beginning of the given string to produce a number with the given pattern. | ||
− | There is another extended built in function, | + | There is another extended built-in function, |
<source lang="java"> | <source lang="java"> |
Revision as of 03:58, 7 May 2012
The default method:
Number parseNumber(String source, String pattern);
Parses text from the beginning of the given string to produce a number with the given pattern.
There is another extended built-in function,
Number parseNumber(String source, String pattern, Locale locale);
Parses text from the beginning of the given string to produce a number with the given pattern and locale.
You can define a method to use this function by xel-method
Parameters:
In both default and extended function:
- source - the text to parse
- pattern - the pattern to apply
In extended function only:
- locale - the locale to apply
Version History
Version | Date | Content |
---|---|---|
6.0.1 |