<?php echo "Forneça um valor real: \n"; fscanf(STDIN, "%f", $valor_real); printf("O valor real com dois dígitos de precisão é: %.2f\n", $valor_real); ?>
To embed this project on your website, copy the following code and paste it into your website's HTML: