writing apps

<p>im writing an app....
and need to know </p>

<p>when are numbers (for instance the number 5) spelled out as WORDS (five) and when are they spelled out in NUMBERS (5)?</p>

<p>thanks</p>