Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NumberCustom

        private NumberCustom()
    • 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 context
        scope - the scope
        thisObj - the scriptable
        args - the arguments passed into the method
        function - the function
        Returns:
        the string