Search

NumberPhrase

NumberOrZero

Force a value to a number, else produce a 0   If you have a scenario like this: «SetV(‘test’,Input)» «NumberOrZero(GetV(‘Input’))» And in the interview, «Input» happens to be given the value of 123 then the output on the document will be 123. However, if the value is ‘abc’ then the...

NumberPhrase - XpressDox

NumberPhrase is used to convert a number to words, in several different languages. Command structure: «NumberPhrase(Area,'','leave')» Examples of usage: «NumberPhrase(Area,"en-us","ToUpper")» Suppose a data element with name ‘Area’ has a value 1234:This would yield “ONE THOUSAND TWO HUNDRED THIRTY-FOUR” Parameters: Languages supported are ‘en’ (US English, the default), ‘fr’ (French), ‘de’...

Format a date in archaic form

Using standard XpressDox functions and commands, XpressDox renders a date in archaic form, i.e. 2009-09-02 becomes "the 2nd day of October in the Year of Our Lord Two Thousand and Nine".
Loading...