ma total arriva da GET?

prova ad applicare una funzione tipo questa

function convertitotal($stringa){return number_format($stringa, 2, ',', '.');}