[futurebasic] Currency ( as a number )==> words

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2010 : Group Archive : Group : All Groups

From: Brian S <fblistserve@...>
Date: Sat, 20 Nov 2010 13:38:17 -0700
Is anyone aware of a CFLocale or CFNumberFormatter call(s)( or others ) that format a number ( reflecting currency ) to words?

Example:  25  becomes TwentyFive and 35.23 becomes ThirtyFive and twentyThree cents ( at least in USD - I understand other countries have different grouping separators and decimal indicators )

I have some old code using a brute force method but it doesn’t allow for other locales.

Brian S.