Aash
Aash I think it was a Cache or something. Now it's working fine! THANKS!
Aash
Graham Input are decimal values e.g., 0.02
And one more thing the
+ is automatically getting converted to space in my code block.
Here is a:
TEST PAGE
Graham
Aash What are the inputs? because it works fine for me with straight numbers!
Aash
Graham I think its url encoding, if so how to get rid of that. It is being used in a form with post menthod. See var a2 in the code below.
Graham
Aash Your second example returns 5 ?
xtscript tries to evaluate anything in brackets as maths
Are you sure something is not urlencoding your + symbols as spaces
Aash
When doing like this:
its output is coming as: 2 3
And When doing like this:
its output is coming as: (2 3)