Module lang/fr

French numbers

 require("wolsey/lang/fr");
 var cardinal = new Wolsey("fr", Wolsey.FR());

Adds lang/fr.FR method to wolsey

Requires

Source:

Methods

(static) FR(optionsopt) → {object}

Generic French 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

lowest function <optional>
lowest

Method to handle non-power units

numerals object <optional>
numerals

Lookup map of numerals

ordinal function <optional>
ordinal

Ordinal method

ordinalAsNumber function <optional>
ordinalAsNumber

Ordinal as number method

conjoin= string <optional>

String to conjoin word parts together

separator= string <optional>

String to separate unit phrases

oneconjoin string <optional>
et

Value to use when final part of remnant is one

hyphenatecompound string <optional>
true

Whether to hyphenate unit phrases

Source:
Returns

LANG instance

Type
object