I have a system that calculates the average of the fields and then executes the javascript below, only the result goes out 0.222048 and the correct one would be 222.048, how to do this conversion?
<script>
function calcularMediam3etes() {
var m1 = document.forms['formMediasETEs']['mediaQ_lsE'].value;
var mqm3 = (m1 * 86.400)/1000;
document.forms['formMediasETEs']['mediaQm3E'].value = mqm3;
}
</script>
Thank you!