Pathagoras Help System

<S>pell out Function

<S>pell out Function

Previous topic Next topic  

<S>pell out Function

Previous topic Next topic  

   If you wish your replacement text to be, or include, the spelled out equivalent of the Arabic numeral, precede or follow the number with

<S> (for just a conversion to the spelled out version of the number) or
<SS> (for both short and spelled out versions of the number).

   If <SS> is placed first, the spelled out amount is the 'primary' value, and the number appears in parentheses. If <SS> is placed last, the number is the primary value, and the spelled-out value appears in parenthesis.

   The results are shown below the example.

Examples:

Variable (in document and                    Replacement Text
on left side of IDB Screen) __________(right side of IDB Screen)

[Quantity]

65344<SS>

[Number Ordered]

<SS>65344

Results:

Thank you for your order of [quantity] widgets.

will become:

Thank you for your order of 65,344 (sixty five thousand, three hundred forty-four) widgets.

lightbulbsmallYou can 'pre-place' the <S> or <SS> markers in your source documents. (Indeed, you are more likely to do this than manually type the markers into your Instant Database screen.) Just place the markers to the immediate left or right of the actual variable in the source text.

    Example:

Document text:

Thank you for your order of [quantity]<SS> widgets.

If, when you display the IDB screen and type in 65344 beside the variable [quantity], the text will become:

Thank you for your order of 65,344 (sixty five thousand, three hundred forty-four) widgets.