7 Apr
2003
7 Apr
'03
2:39 p.m.
Johan Carlsson [EasyPublisher] wrote:
I think it should use a float instead of a string because it would make it easier to identify the occurrence of an older version than X.X.
Well, that's a good point. Comparing floats is always a pain though, and while > and < works, == and != is unrealiable, and you instead have to use abs(float - comparefloat) < 0.001 and stuff like that, and for most cases all you want to know is if it's the current version or not. Integers would work nice, though.