Package org.htmlunit.javascript.host
Class NumberCustom
- java.lang.Object
-
- org.htmlunit.javascript.host.NumberCustom
-
public final class NumberCustom extends java.lang.Object
Contains some missing features of Rhino NativeNumber.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
NumberCustom()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
toLocaleString(org.htmlunit.corejs.javascript.Context context, org.htmlunit.corejs.javascript.Scriptable scope, org.htmlunit.corejs.javascript.Scriptable thisObj, java.lang.Object[] args, org.htmlunit.corejs.javascript.Function function)
Returns a string with a language sensitive representation of this number.
-
-
-
Method Detail
-
toLocaleString
public static java.lang.String toLocaleString(org.htmlunit.corejs.javascript.Context context, org.htmlunit.corejs.javascript.Scriptable scope, org.htmlunit.corejs.javascript.Scriptable thisObj, java.lang.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
-
-