PHP number_format()

Posted by & filed under PHP Development.

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)… Read more »

Happy Canada Day!

Posted by & filed under News & Updates.

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… Read more »