Free cross-platform library to convert numbers (money amounts) to words?

Posted by bialix on Stack Overflow See other posts from Stack Overflow or by bialix
Published on 2010-12-23T14:12:53Z Indexed on 2010/12/24 11:54 UTC
Read the original article Hit count: 192

Filed under:
|
|
|
|

I'm looking for cross-platform library which I can use in my C application to convert money amounts (e.g. $123.50) to words (one hundred twenty three dollars and fifty cents). I need support for multiple currencies: dollars, euros, UK pounds etc.

Although I understand this is not hard at all to write my own implementation, but I'd like to avoid reinventing wheel. I've tried to google it, but there is too much noise related to MS Word converters.

Can anybody suggest something?

UPDATE numerous comments suggest to write my own implementation because it's really easy task. And I agree. My point was about support of multiple currencies in the same time and different business rules to spell the amounts (should be fractional part written as text or numbers? etc.) As I understand serious business applications have such library inside, but I think there is nothing open-source available, maybe because it seems as very easy task.

I'm going to write my own libary and then open-source it. Thanks to all.

© Stack Overflow or respective owner

Related posts about c++

Related posts about c