Module lang/es

Spanish numbers

 require("wolsey/lang/es");
 var cardinal = new Wolsey("es", Wolsey.ES());

Adds lang/es.ES method to wolsey

Requires

Source:

Methods

(static) ES(optionsopt) → {object}

Generic Spanish lang number generator

Calls wolsey.LANG

Parameters
Name Type Attributes Description
options object <optional>
Properties
Name Type Attributes Default Description
powers object <optional>
powers

Powers to use as units

milliardstyle boolean <optional>
false

Whether to use milliard-style units

lowest function <optional>
lowest

Method to handle non-power units

numerals object <optional>
numerals

Lookup map of numerals

ordinals object <optional>
ordinals

Lookup map of ordinals

ordinal function <optional>
ordinal

Ordinal method

ordinalAsNumber function <optional>
ordinalAsNumber

Ordinal as number method

unitone string <optional>
un

Value to use when unit quotient is one

space= string <optional>

Character to use for generic spaces between number words

conjoin= string <optional>

String to conjoin word parts together

separator= string <optional>

String to separate unit phrases

Source:
Returns

LANG instance

Type
object