Display percentage in PHP

0

I need to display a percentage like this 0,75 but it is displaying like this: 0,00

follow my code:

<?php 
echo number_format((float)$array['JUROS'], 2, ',', '.'); 
?>

The value that comes from the bank is 0,75

Thank you.

    
asked by anonymous 18.06.2018 / 13:53

0 answers