We’ve tried many different methods to set precision for a number variable (specifically a currency amount) and we’d like to share the best method we’ve found: number_format( {number}, {precision}, ‘decimal_separator’, ‘1000s_separator’ ); Example: number_format( $number, 2, ‘.’, ‘,’ ); Hope this helps! We have also tried using round( $number, {precision} ) but it ignores zeros(0) […]
Month: July 2009
July is quickly going to become a cornerstone in our company’s progress to becoming a major competitor in the web and software development industry. Our plans include the purchase of a dedicated server (hosted in Canada) to host our clients websites (only), a new logo along with new business cards and a new website. We’re