Cout long double issue

前端 未结 4 1616
一向
一向 2021-01-14 06:01

So, I\'m working on a C++ project. I have a var of long double type and assigned it a value like \"1.02\"

Then, I try to use cout to print it and the result is: -0

4条回答
提交回复
热议问题