G
Guest
Is it possible in project settings to set vb.net in such a way so that it
considers only upto 3 decimal places when comparing any two values.
My problem is:
i get varA = -0.0000000000018189894035458565. It actaully should be zero.
So when i compare varA = 0 , it returns false (obviously)
I can use round(varA) to achieve what i want, but i have to do that every
time. Is it possible to set it in project settings.
Irfan
considers only upto 3 decimal places when comparing any two values.
My problem is:
i get varA = -0.0000000000018189894035458565. It actaully should be zero.
So when i compare varA = 0 , it returns false (obviously)
I can use round(varA) to achieve what i want, but i have to do that every
time. Is it possible to set it in project settings.
Irfan