dolibarr 19.0.4
|
A set of functions for Dolibarr This file contains all frequently used functions. More...
Go to the source code of this file.
Functions | |
dol_convertToWord ($num, $langs, $currency='', $centimes=false) | |
Function to return a number into a text. | |
dolNumberToWord ($numero, $langs, $numorcurrency='number') | |
Function to return number or amount in text. | |
hundreds2text ($hundreds, $tens, $units) | |
hundreds2text | |
A set of functions for Dolibarr This file contains all frequently used functions.
Definition in file functionsnumtoword.lib.php.
dol_convertToWord | ( | $num, | |
$langs, | |||
$currency = '', | |||
$centimes = false ) |
Function to return a number into a text.
May use module NUMBERWORDS if found.
float | $num | Number to convert (must be a numeric value, like reported by price2num()) |
Translate | $langs | Language |
string | $currency | ''=number to translate | 'XX'=currency code to use into text |
boolean | $centimes | false=no cents/centimes | true=there is cents/centimes |
Definition at line 36 of file functionsnumtoword.lib.php.
Referenced by pdf_standard\_tableau_cheque(), and getCommonSubstitutionArray().
dolNumberToWord | ( | $numero, | |
$langs, | |||
$numorcurrency = 'number' ) |
Function to return number or amount in text.
float | $numero | Number to convert |
Translate | $langs | Language |
string | $numorcurrency | 'number' or 'amount' |
Definition at line 168 of file functionsnumtoword.lib.php.
References hundreds2text().
hundreds2text | ( | $hundreds, | |
$tens, | |||
$units ) |
hundreds2text
integer | $hundreds | Hundreds |
integer | $tens | Tens |
integer | $units | Units |
Definition at line 261 of file functionsnumtoword.lib.php.
Referenced by dolNumberToWord().