I want to do something, i think it's easy... but i don't find a solution.
I've too value... Number
1st) between 0-100.
2nd) between 0-50.
For example 70 and 24.
If the first value is >50 i want to soustract the second : 70 - 24 = 46.
Other example 20 and 47
If the first value is
And i want to have the result in one object (Number) to send...
Yes, it's easy no ?! But ... not for me :(
Someone have an Idea ?