Object | +--Number
| SUMMARY: Constructor | Properties | Methods | DETAIL: Constructor | Properties | Methods |
| Methods Summary | |
Object
|
format(fmt, locale)
format a Number to a String |
Object
|
toPercent(total, fmt, locale)
return the percentage of a Number according to a given total Number |
<static> Object
|
Sorter(field, order)
factory to create functions for sorting objects in an array |
| Method Detail |
Object format(fmt, locale)
String - Format pattern
java - .util.Locale An optional Locale instance
Object toPercent(total, fmt, locale)
Int - Total
String - Format Pattern
java - .util.Locale An optional Locale instance
<static> Object Sorter(field, order)
String - name of the field each object is compared with
Number - order (ascending or descending)
| SUMMARY: Constructor | Properties | Methods | DETAIL: Constructor | Properties | Methods |