Hi again muebel,
I did some tests and problem seems to be in the format, I have been searching around and haven't found any other case, that is very weird.
Number passed to JSON is a long, if is not used in the eval statement then can be used to perform operations and indeed it gets correct result when I do stuff like perc25.
If I modify the value with eval, then it always return null. Some examples
eval time = timems ---> time will be null even if timems is not.
eval time = if(timems>1, "ok","notok") --- > that returns an error stating '>' comparin different formats.
eval time=if(timems>"1",'ok","error") ---> statement is always false (in reality is not) so always would return error (timems is set to null)
eval time=tonumber(timems) ---> time is always null.
convert num(timems) ----> timems is always null
Rgds,
Juan
... View more