General information
Category:
Coding, syntax & commands
Title:
Checking variables value sequence
I have
price1, price2, price3, price4
They must be filled by the user in growing sequence as in the example below:
5.00, 7.00,8.50,10.00
or
1.00, 100.00,1000.00,5000.00
etc
It must be wrong if any variable is not according to the rule, as below:
4.50, 7.00,3.00,10.00
The message ("price 3 is incorrect") must be shown
Seems simple task, but I tried using < and > and could not
achieve a satisfatory result
Moises
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only