On a particular Iphone which I don't have access (he's out on the field) , it seems than any fraction is evaluated as greater than 1.2
I know that getasnumber("0,25") gives a result of 25 but ,from the logs, I know the script received data with a dot as the decimal separator.
I'm really scratching my head with this one.
I just can't replicate this on my Iphone.
Is there an iphone configuration that would produce that erroneous evaluation ?
I tried to set mine to the French settings ( comma as the decimal separator) but it still worked as it should.
\"urlscheme://~/" & $$AppName & ".fmp12?&Script=Myscript&$latitude=\"+latitude+\"&$longitude=\"+longitude+\"&$accuracy=\"+accuracy+\"&$speed=\"+speed;
The simplified script looks like
if ($$ACCEPTDATA=1 and getasnumber($speed)>1.2) Do Action.
I checked the logs on the server and the action has been triggered every time the $speed >0
The strange thing is that me and another user don't have this strange behavior.
If anyone has an idea...this is driving me insane