Force php decimals to display 2 digits

I have my php script all set up and ready to go. Only problem is it doesn’t display two digits in the decimal if the last number is a 0. So it takes 156.70 and displays it as 156.7 All of my other numbers work ok as long as the last number isn’t a zero. How can I force to to show the last two digits even if the last digit is a zero?

number_format(‘13’, 2); where the 2 is the nmber of decimal places required

thanks, works perfectly

:slight_smile: No problem