calmchess Posted January 14, 2010 Share Posted January 14, 2010 Whats the best way to formatte money so even if i add a number such as 3.26 it will always be in currency formatte instead of say 3.459?? Quote Link to comment https://forums.phpfreaks.com/topic/188469-formatte-money/ Share on other sites More sharing options...
JAY6390 Posted January 14, 2010 Share Posted January 14, 2010 number_format() Quote Link to comment https://forums.phpfreaks.com/topic/188469-formatte-money/#findComment-995003 Share on other sites More sharing options...
calmchess Posted January 14, 2010 Author Share Posted January 14, 2010 thanks Quote Link to comment https://forums.phpfreaks.com/topic/188469-formatte-money/#findComment-995009 Share on other sites More sharing options...
ignace Posted January 14, 2010 Share Posted January 14, 2010 number_format or if you use linux and your OS supports strfmon money_format Quote Link to comment https://forums.phpfreaks.com/topic/188469-formatte-money/#findComment-995010 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.