Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

float conversion

i have been getting a strange problem with a particular math operation...

i have two long variables..
long a = 31534;
long b = 102004;
float c;

c = a / b;

now i get the value of c as 0..wat clould be the problem...i also tried typecasting the expression to float..but still didnt work...

Parents Reply Children
No data