( SELECT SUM(misyukko.dataint11)
FROM misyukko
where syouhinid='$kokyakuorderbango'
) AS total_amount
If sum is 1234 then should be displayed 123,4
If sum is 12345 then should be displayed 123,45
If sum is 12345678 then should be displayed 123,456,78
How to solve it?
