Menu
I have this code: –
<script language=”JavaScript” type=”text/javascript”>
<!–
var c;
function a_int_b(form){
c=0;
a=eval(form.a.value);
b=eval(form.b.value);
c=a;
for(var i = 0;i<b;i++){
c =c*1.00482;
}
form.ans.value = c.toFixed(2);
}
//–>
</script>
I have the info of the interest rate (0.482) in a text file. I want java to tread the interest rate from the .txt file. Can this be done and how.
If so can it be done with an xls file?