what data type of your variable???
i experiance the same problem in the past i set to my variable type Int, however i changed the type to integer or decimal and it's work.
------------------------------------------------------------
Imagination is more important then knowledge
. . .