From Newsgroup: comp.lang.tcl
alexandru <
alexandru.dadalau@meshparts.de> wrote:
Actually yes, I'm sure.
I have the errorInfo that shows the stack of procedure calls.
The procedure is called with "decimals" equal to 6.
A very large number in val can also trigger the same error, even with
decimals at 6:
$ rlwrap tclsh
% set decimals 6
6
% set val 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
% expr {round($val*(10.0**($decimals+3)))/(10.0**$decimals)}
integer value too large to represent
%
So if you are certian decimals is 6, then a very large number is
ending up in val somehow.
--- Synchronet 3.20a-Linux NewsLink 1.114