Module NumberWords: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
m (Import interlang links (links to translated versions of this page in other languages) from Multi Language Manager table.)
mNo edit summary
Tag: 2017 source edit
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
[[Category:Complementary modules]]
[[Category:Complementary modules]]
[[Category:NumberWords]]
[[Category:NumberWords]]
[[Category:DoliCloud]]
{{TemplateDocDevEn}}
{{TemplateDocDevEn}}
{{TemplateDocUser}}
{{TemplateDocUser}}
Line 13: Line 14:
{{TemplateModuleInfo
{{TemplateModuleInfo
|modulename=Number to Words
|modulename=Number to Words
|editor=NLTechno
|editor=DoliCloud
|web=[http://www.nltechno.com www.nltechno.com]
|web={{URLNLTechno}}
|webbuy={{LinkToPluginDownloadDoliStore|keyword=}}
|webbuy={{LinkToPluginDownloadDoliStore|keyword=numberword}}
|status=stable
|status=stable
|minversion=5.0
|minversion=5.0
Line 43: Line 44:
==If you are a developer==
==If you are a developer==
You can also use, anywhere in the code, the method  
You can also use, anywhere in the code, the method  
<source lang="php">
<syntaxhighlight lang="PHP">
$langs->getLabelFromNumber($mynumber,0|1)
$langs->getLabelFromNumber($mynumber,0|1)
</source>
</syntaxhighlight>
to get full text string of a number (if second parameter is 0) or an amount (if second parameter is 1).
to get full text string of a number (if second parameter is 0) or an amount (if second parameter is 1).


= Development =
= Development =
{{TemplateModNLTechnoEn}}
{{TemplateModNLTechnoEn}}

Navigation menu