Class NumberCustom
java.lang.Object
org.htmlunit.javascript.host.NumberCustom
Contains some missing features of Rhino NativeNumber.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringtoLocaleString(org.htmlunit.corejs.javascript.Context context, org.htmlunit.corejs.javascript.Scriptable scope, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, org.htmlunit.corejs.javascript.Function function) Returns a string with a language sensitive representation of this number.
-
Constructor Details
-
NumberCustom
private NumberCustom()
-
-
Method Details
-
toLocaleString
public static String toLocaleString(org.htmlunit.corejs.javascript.Context context, org.htmlunit.corejs.javascript.Scriptable scope, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, org.htmlunit.corejs.javascript.Function function) Returns a string with a language sensitive representation of this number.- Parameters:
context- the JavaScript contextscope- the scopethisObj- the scriptableargs- the arguments passed into the methodfunction- the function- Returns:
- the string
-