tomdagliusa
Programmer
Hi,
I have an embedded version of tcl inside of an app, and I think the version of tcl is older than God. The problem is that to the following command:
set x [expr $membernum * 601.3439942]
I get a result of 3006.72
instead of 3006.719971
I tried forcing a type by adding a double cast to the
expr command, but it still gets truncated.
Suggestions?
Tom
I have an embedded version of tcl inside of an app, and I think the version of tcl is older than God. The problem is that to the following command:
set x [expr $membernum * 601.3439942]
I get a result of 3006.72
instead of 3006.719971
I tried forcing a type by adding a double cast to the
expr command, but it still gets truncated.
Suggestions?
Tom