Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script language="JavaScript" type="text/JavaScript">
- function hitungARR() {
- var myForm = document.form1;
- var RNA = parseInt(myForm.txt_Rna.value);
- var RNO = parseInt(myForm.txt_Rno.value);
- var ARR = (RNA/RNO).toFixed(2);
- if (ARR > 0) {
- myForm.txt_ARR.value = ARR;
- } else {
- myForm.txt_ARR.value = 0;
- }
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement