CodePudding
Home
front end
Back-end
Net
Software design
Enterprise
Blockchain
Mobile
Software engineering
database
OS
other
Home
>
Back-end
> Bosses read
Bosses read
Time:10-31
13 behavior have anything except float
In addition to float why
0.40?
-- -- -- -- -- from small white confused
CodePudding user response:
CodePudding user response:
reference 1st floor ZHGWBZHD response:
Thank you thank you very much
CodePudding user response:
casts
CodePudding user response:
Because a and b are of type int, it needs to be converted to a float, so to coercion, calculated results is also float type
Page link:
https//www.codepudding.com/Backend/75199.html
Prev:
C language simple questions for help
Next:
For help
Tags:
The base class
Related
Links:
CodePudding