Detailed reference of prototypes, properties and methods available in the
Javascript environment of your Helma web applications.

Adds useful methods to the JavaScript Number type.

To use this optional module, its repository needs to be added to the application, for example by calling app.addRepository('modules/core/Number.js')
Methods
Number. format(String)
format a Number to a String
parameters
String Format pattern
java.util.Locale An optional Locale instance
returns
String Number formatted to a String
Number. toPercent(Int, String)
return the percentage of a Number according to a given total Number
parameters
Int Total
String Format Pattern
java.util.Locale An optional Locale instance
returns
Int Percentage
Number. Sorter(String, Number)
factory to create functions for sorting objects in an array
parameters
String name of the field each object is compared with
Number order (ascending or descending)
returns
Function ready for use in Array.prototype.sort
Fri, 05 Feb 2010 17:40:05 GMT.

core framework

optional modules

java libraries

properties files