about float number
in
Programming Questions
•
5 months ago
Dear all
When I run the code as below
- float a=4;
- float b=5;
- float c;
- c=a/b;
- println(c);
The printout is 0.
What is the problem in this code?
Thank for any reply.
Tom Tong
1