santosh22 Posted June 29, 2013 Share Posted June 29, 2013 Hi, I want to convert the number to figures in words for a transaction amount in UK Currency. For example, if the number is 25.22, the output should come as twenty five pounds and twenty two Pence. Any help is highly appreciated. Many Thanks. Quote Link to comment Share on other sites More sharing options...
mac_gyver Posted June 29, 2013 Share Posted June 29, 2013 there are countless examples of doing this posted on the Internet for you to find and examine to see how someone else accomplished it or to use directly. Quote Link to comment Share on other sites More sharing options...
santosh22 Posted June 29, 2013 Author Share Posted June 29, 2013 Hi mac_gyver, I have gone though a few examples. But I did not find anyone which helps in converting the currencies to right category. Appreciate your help. Thanks Quote Link to comment Share on other sites More sharing options...
mac_gyver Posted June 29, 2013 Share Posted June 29, 2013 (edited) this is a programming help forum. if you want help with some code, you need to post the code need to reproduce the problem, show what input you used, post what incorrect output you got from that input, and state what was wrong with the output. Edited June 29, 2013 by mac_gyver Quote Link to comment Share on other sites More sharing options...
Solution litebearer Posted June 29, 2013 Solution Share Posted June 29, 2013 You will to do some modications; however, this may give you a start... http://www.karlrixon.co.uk/writing/convert-numbers-to-words-with-php/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.