number"

From Documentation
(Created page with '{{ZUMLReferencePageHeader}} <source lang="java"> Number number(Object value); </source> :i.e., <javadoc method="toNumber(java.lang.Object)">org.zkoss.xel.fn.CommonFns</javadoc>…')
 
m
Line 8: Line 8:
  
 
Converts the specified object to a number.
 
Converts the specified object to a number.
 +
 +
Notice that EL will convert the type automatically, so you rarely need this method. Please refer to [[ZUML Reference/EL Expressions/Type Coercion|Type Coercion]] for details.
  
 
'''Parameters:'''
 
'''Parameters:'''

Revision as of 02:45, 8 December 2010

Number number(Object value);
i.e., CommonFns.toNumber(Object)

Converts the specified object to a number.

Notice that EL will convert the type automatically, so you rarely need this method. Please refer to Type Coercion for details.

Parameters:

  • value - the value to convert

Version History

Last Update : 2010/12/8

Version Date Content
     



Last Update : 2010/12/08

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.