How to make the calculator comma entered by the site visitor, changed to a point?
<script lang="JavaScript"> function I(form) { P=eval(form.P.value); f1=eval(form.f1.value); C1=(P * f1 * Math.PI)/1000; form.total.value = C1; } </script> How to make the calculator comma entered by the site visitor, changed to a point?
<script lang="JavaScript"> function I(form) { P=eval(form.P.value); f1=eval(form.f1.value); C1=(P * f1 * Math.PI)/1000; form.total.value = C1; } </script> Source: https://ru.stackoverflow.com/questions/573500/
All Articles