Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
i can't Calculate [[AGE]] = 1996 was want that 2019 - [[AGE]] = 23 Log [[AGE]] : Thread #1 : NaN
@cparonny Type of variable "Age" is not a number.
How can i Make this var as a number?
@cparonny Its not need to do)) Simply you have in this variable not the number of, and I not know that you have in it.
@cparonny I think variable contains list (array)
Actualy [[AGE]] = Birthday year . i need to calculate his/her age , So Was trying to calculate it.
thankyou
@Fox Well that would explain that then. Lol. Thank you for the heads up!
Thanks
@spockthe40oz change the ip
Hey @lother,
Best part about BAS is the JavaScript functionality it has!
Here's a little script to turn a number into a positive with JavaScript's Math.abs() function.
0_1494388512676_sample.xml