Dear people,
I have a problem for solving.
I have numbers in my database saved with decimal atribute. The numbers go below zero like this '0.55' and also above zero.
I' m just testing my code and i came to this Dividing by zero problem.
I need to do simple devision $variable / $ variable to get a needed number for my operation, but it just does not work ... help me pls.
If i do it manually it works for ex. 0.55/ 0.2 = 2.75. I need to get this same output from my variables.
I do much appriciate any hints where to fix this