Numbers_Words
[ class tree: Numbers_Words ] [ index: Numbers_Words ] [ all elements ]

Class: Numbers_Words_Locale_fr_BE

Source Location: /Numbers_Words-0.18.1/Numbers/Words/Locale/fr/BE.php

Class Overview

Numbers_Words
   |
   --Numbers_Words_Locale_fr_BE

Class for translating numbers into French (Belgium).


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: Numbers_Words

Numbers_Words::getLocales()
Lists available locales for Numbers_Words
Numbers_Words::loadLocale()
Load the given locale and return class name
Numbers_Words::normalizeNumber()
Removes redundant spaces, thousands separators, etc.
Numbers_Words::toCurrency()
Converts a currency value to word representation (1.02 => one dollar two cents) If the number has not any fraction part, the "cents" number is omitted.
Numbers_Words::toWords()
Converts a number to its word representation

Class Details

[line 41]
Class for translating numbers into French (Belgium).


[ Top ]


Class Variables

$lang =  'French'

[line 58]

Language name in English.
  • Access: public

Type:   string


[ Top ]

$lang_native =  'Français'

[line 65]

Native language name.
  • Access: public

Type:   string


[ Top ]

$locale =  'fr'

[line 51]

Locale name.
  • Access: public

Type:   string
Overrides:   Array


[ Top ]



Method Detail

_toWords   [line 386]

string _toWords( [integer $num = 0])

Converts a number to its word representation in French language.
  • Return: The corresponding word representation
  • Author: Kouber Saparev <kouber@php.net>
  • Since: Numbers_Words 0.16.3
  • Access: protected

Parameters:

integer   $num   —  An integer (or its string representation) between 9.99*-10^302 and 9.99*10^302 (999 centillions) that need to be converted to words

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:59:29 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.