Good morning,
I want to add values to a form, but I can not. I need to do the following calculation:
<?php
vlMateriaPrima = 3,05;
$isumosMateriais = 0,25;
$embalagem = 0,50;
$custoDireto = vlMateriaPrima + $isumosMateriais + $embalagem;
?>
These values must be filled in with a comma in the form. The result is to be 3.80 and only 3 comes out