Number in a range
Posted
#1
(In Topic #1257)
Regular

I'm not seeing anything on the wiki page under arithmetic operators or in the forum. It's ok if I have to McGuyver it but I thought there might be a quicker and more simple way to do this.
Posted
Regular

Posted
Regular

Posted
Expert

Cheers - Quin.
I code therefore I am
I code therefore I am
Posted
Regular

ValueBox.Value is a Variant. So Vuott's answer will be true if ValueBox.Value is 39.1 or 60.9
Use ALSO
Q's answer can be shortened
Note that by using Q's function the variants (floats) will be automatically interpreted as integers. Therefore the valid range is 41 to 59. IOW it is an exclusive range.
b
Posted
Regular

..but rj71 wrote two integer values in his example.thatbruce said
ValueBox.Value is a Variant. So Vuott's answer will be true if ValueBox.Value is 39.1 or 60.9
I simply stuck to his example.
Europaeus sum !
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
Posted
Guru

Posted
Regular

1 guest and 0 members have just viewed this.

