Hey
Can help me clarify a particular problem with if statements setting a boolean
I have a value that needs to be divided by 3 and I also have a data entry field with a boolean option underneath to indicate a payment complete.
What I am doing is using an if statement to compare the divided number with data entry field and if the values are the same the payment complete boolean is set. This is working fine until I put a number in that is displaying decimal places then it seems to not be comparing the values correctly I can only put this down to the database storing multiple 0.xxxxx as the data entry is limited to 2 decimal places.
Can some tell me if I am correct and is there away to store the value in the database just with 2 decimal places.
Thanks