--- rat/client/parameter.html 2001/08/08 18:36:24 1.14
+++ rat/client/parameter.html 2001/08/08 18:47:17 1.15
@@ -328,11 +328,11 @@ function draw() {
if ((svalue!='') && (typeof(svalue)!="undefined")) {
range=svalue.split(',');
if (typeof(range[1])=='undefined') { range[1]=range[0]; }
- choices.document.forms.sch.val2.value=parseInt(range[0]);
+ choices.document.forms.sch.val2.value=parseFloat(range[0]);
if (range[0].indexOf('+')!=-1) {
choices.document.forms.sch.val3.checked=true;
}
- choices.document.forms.sch.val4.value=parseInt(range[1]);
+ choices.document.forms.sch.val4.value=parseFloat(range[1]);
if (range[1].indexOf('+')!=-1) {
choices.document.forms.sch.val5.checked=true;
}
@@ -342,7 +342,7 @@ function draw() {
tablestart('Absolute error, symmetric around value');
valline('Value',2,3);
if ((svalue!='') && (typeof(svalue)!="undefined")) {
- choices.document.forms.sch.val2.value=parseInt(svalue);
+ choices.document.forms.sch.val2.value=parseFloat(svalue);
if (svalue.indexOf('+')!=-1) {
choices.document.forms.sch.val3.checked=true;
}
@@ -356,11 +356,11 @@ function draw() {
if ((svalue!='') && (typeof(svalue)!="undefined")) {
range=svalue.split(',');
if (typeof(range[1])=='undefined') { range[1]=range[0]; }
- choices.document.forms.sch.val2.value=parseInt(range[0]);
+ choices.document.forms.sch.val2.value=parseFloat(range[0]);
if (range[0].indexOf('+')!=-1) {
choices.document.forms.sch.val3.checked=true;
}
- choices.document.forms.sch.val4.value=parseInt(range[1]);
+ choices.document.forms.sch.val4.value=parseFloat(range[1]);
if (range[1].indexOf('+')!=-1) {
choices.document.forms.sch.val5.checked=true;
}