NUMBERASWORDS Function: Difference between revisions

From Planfix
Jump to: navigation, search
(Created page with "{{#seo: |title=NUMBERASWORDS Function |titlemode=append |keywords=planfix, Functio, NUMBERASWORDS, documents, document templates, number as words |description=NUMBERASWORDS Function }} The function returns a number written out in words. Only the integer part of the number is converted; the fractional part is ignored. == format == NUMBERASWORDS(number; OutputMode; "language") Where: *'''number''' — a numeric value or a formula *'''OutputMode''': **0 — standard outpu...")
 
No edit summary
Line 20: Line 20:
**6 — words in neuter gender, starting with a capital letter
**6 — words in neuter gender, starting with a capital letter
*'''language'''
*'''language'''
**"" (empty) — uses the language of the user who is generating the document
**en — english
**fr — french
**de — german

Revision as of 13:21, 25 November 2025

The function returns a number written out in words. Only the integer part of the number is converted; the fractional part is ignored.

format

NUMBERASWORDS(number; OutputMode; "language")

Where:

  • number — a numeric value or a formula
  • OutputMode:
    • 0 — standard output
    • 1 — words in feminine gender
    • 2 — words in masculine gender
    • 3 — words in neuter gender
    • 4 — words in feminine gender, starting with a capital letter
    • 5 — words in masculine gender, starting with a capital letter
    • 6 — words in neuter gender, starting with a capital letter
  • language
    • "" (empty) — uses the language of the user who is generating the document
    • en — english
    • fr — french
    • de — german