- Subject: [slang-users] module gettext
- From: Bernhard Schönhammer <B.Schoenhammer@xxxxxxxxxxxx>
- Date: Mon, 25 Jul 2011 22:32:34 +0200
Hello slang users,
I am using:
slsh version 0.8.4-1; S-Lang version: 2.2.2 and the gettext module.
Everything works fine so far, but now I came across this:
variable val1 = 8563;
variable tmp_level = val1 /10.;
() = printf("%f\n", tmp_level);
require("gettext");
tmp_level = val1 /10.;
() = printf("%f\n", tmp_level);
When I run this script, I get:
856.300000
INF
When I delete the second line: tmp_level = val1 /10.; I get:
856.300000
856.300000
as expected.
What is gettext doing to my variables?
Thanks in advance for any help.
Bernhard
[second shot - other email address]
[2011 date index]
[2011 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]