NumberFormat

@native @JSGlobal("Intl.NumberFormat") @JSType
class NumberFormat(locales: UndefOr[String | Array[String]], options: UndefOr[NumberFormatOptions]) extends Object

The Intl.NumberFormat object is a constructor for objects that enable language sensitive number formatting.

class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def format(number: Double): String
def supportedLocalesOf(locales: String | Array[String], options: Any): Array[String]

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object