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?? 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() 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 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 Link to comment https://forums.phpfreaks.com/topic/188469-formatte-money/#findComment-995010 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.