comparing two variables and decide which one is bigger.
Comparing 98,89 with 99,01: it works,
comparing 98,89 with 1000,01: it doesn´t works
comparing 98,89 with 100,01: the same, it doesn´t works;
the addition of these values works!
After I notice this, I think this is crazy, but please have a look to my example code, to test it:
Code: Select all
Let>Wertb=98,89
Let>Werta=99,01
Let>Summe=Werta+Wertb
messagemodal>%Summe% ok!
If>%Werta%>%Wertb%
messagemodal>%Werta%>%Wertb% ok!
else
messagemodal>mistake !
endif
Let>Wertb=98,89
Let>Werta=1000,01
Let>Summe=Werta+Wertb
messagemodal>%Summe%
If>%Werta%>%Wertb%
messagemodal>%Werta%>%Wertb% ok!
else
messagemodal>mistake !
endif
Let>Wertb=98,89
Let>Werta=100,01
Let>Summe=Werta+Wertb
messagemodal>%Summe%
If>%Werta%>%Wertb%
messagemodal>%Werta%>%Wertb% ok!
else
messagemodal>mistake !
endif
I know the "stringreplace" command and the trick with the "comma" handling.
Best regards,