How to verifiable data type of edit field's variable?
-
Hi,
I'm using draw edit field with double variable on my ea. When user modified field area how can I check this valid number or data type.
So, see like this:Edit Field variable is = double varLot: 2.10
User write Edit field area = abcd or 5,10 (using comma not point)How can I check edit field variable double or not? I tried MathIsValidNumber() function, but I can't do it.
Thanks.
-
try this:
https://fxdreema.com/shared/rW0qyPdQb
this example returns 0 ... but you can edit it in many ways, ... lets say user enters wrong value, the previous value can be returned, and so on ...
-
Hi Miro,
I tried to make this for a week. You are great coder.
Thank you very very very much...