Jump to content

Help with simple if which is acting oddly.


MadnessRed

Recommended Posts

I think I worked it out. it was reading it as a string and that mean it was textually less than not numerically less that. Like if you sort alphanumerically 1-9,a-z, then 123 < 7 in the same wasy that abc < g.

 

So to fix I multiplied both by 1 which made them into numbers :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.