I ask on here because 1) I am too stressed to sign up to a comp forum and 2) because some people on here know some VB.
WHY THE **** CAN'T VB COUNT OR AM I DOING SOMETHING STUPID?
My maths in a certain case should give me an answer of 20, instead I get 19.99999, I INT this number and hence problems arise, why oh why?! It ruins my whole program, one bit I bodge with a ROUND function and it sorts it but something else is more difficult and it gives me 0.000000001 and the checking is is this number > 0, it is according to VB, according to my maths it's 0!
WHY THE **** CAN'T VB COUNT OR AM I DOING SOMETHING STUPID?
My maths in a certain case should give me an answer of 20, instead I get 19.99999, I INT this number and hence problems arise, why oh why?! It ruins my whole program, one bit I bodge with a ROUND function and it sorts it but something else is more difficult and it gives me 0.000000001 and the checking is is this number > 0, it is according to VB, according to my maths it's 0!