I have a simple division line, but the problem is that the variable does store the value of that division.
I tried with a simple example: a := 100 / (600 -3437);
But 'a' does not store the value, and shows 0.
'a' is defined as REAL, also tried LREAL.
Any suggestions about what the problem is?
Best regards,
Jonathan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have a simple division line, but the problem is that the variable does store the value of that division.
I tried with a simple example: a := 100 / (600 -3437);
But 'a' does not store the value, and shows 0.
'a' is defined as REAL, also tried LREAL.
Any suggestions about what the problem is?
Best regards,
Jonathan
A:=600.0/(123.0-2300.0)
Use .0 after all numbers
Thanks you!
That worked.
Hello.
thanks for your help! you saved my life.
Last edit: benitohb 2024-04-25