2013-06-24 46 views
0

試圖避免重新發明輪子。是否有一些特殊的方式,我還沒有找到我可以用來將貨幣格式的十進制轉換爲相應的文本?將十進制轉換爲文本字符串

最好的例子,當你簽署一張支票,說你把$ 1,234.56(的StringFormat C)我可以抓住該值,並將其轉換爲「一千二百三十有四五十&六毛錢」的檢查?

我環顧四周,並沒有發現任何東西,真的很希望,如果能夠避免它不會浪費大量的時間。乾杯

+1

http://stackoverflow.com/questions/794663/net-convert-number-to-string-representation-1-to-one-2-to-two-etc –

+0

發現這個可能幫助 這裏[鏈接](http://stackoverflow.com/questions/2729752/converting-numbers-in-to-words-c-sharp)! – user2517977

+0

請訪問http://site.icu-project.org查看IBM的ICU [國際化組件Unicode]項目。 –

回答

相關問題