version 1.132, 2004/02/19 21:49:33
|
version 1.133, 2004/02/20 18:04:43
|
Line 514 sub get_sigrange {
|
Line 514 sub get_sigrange {
|
} |
} |
if (!$sig_ubound) { $sig_ubound=$sig_lbound; } |
if (!$sig_ubound) { $sig_ubound=$sig_lbound; } |
} |
} |
|
if (($sig_ubound<$sig_lbound) || |
|
($sig_lbound > 15) || |
|
($sig =~/(\+|-)/ ) ) { |
|
my $errormsg=&mt("Invalid Significant figures detected")." ($sig)"; |
|
if ($ENV{'request.state'} eq 'construct') { |
|
$errormsg.= |
|
&Apache::loncommon::help_open_topic('Significant_Figures'); |
|
} |
|
&Apache::lonxml::error($errormsg); |
|
} |
return ($sig_ubound,$sig_lbound); |
return ($sig_ubound,$sig_lbound); |
} |
} |
|
|