I am trying to convet Fahrenheit to Celcius.
The formula to do so is: C = (F - 32) / 1.8 (where F is the Fahrenheit value)
For some reason does
give me -1, but when doing the calculation on a calculator is shows -1.11111
I need the -1.11111 value. How can I get this done in "basic"?
Same with
In basic it returns -5
When doing the maths on a calculator it gives me -5.55....
The formula to do so is: C = (F - 32) / 1.8 (where F is the Fahrenheit value)
For some reason does
B4X:
Celcius = (30 - 32) / 1.8
I need the -1.11111 value. How can I get this done in "basic"?
Same with
B4X:
Celcius = (22 - 32) / 1.8
When doing the maths on a calculator it gives me -5.55....
Last edited: