View Single Post
Du kan legge til round() for å få et fint tall også.

f.eks.

$prosent = round(($rett_svar / $total) * 100)