

Novice to guide

CodePudding user response:
1 data type conversion of warning, because double means large range, and the int scope is small, so the double converted to int, may have an overflow, this warning is alerted to the problem2 EA itself is an integer to integer with floor is neither meaning is completely unnecessary, floor function is for floating-point, input and return values are double
CodePudding user response:
Thanks for a great god, and that this warning is error, programs can runCodePudding user response:
This is a warning, the program can runCodePudding user response:
Warning is a compiler to help you work out where the problem, you can program for specific out don't want to see the actual situation, so is not wrong, the program can runCodePudding user response:
If dry chewing annoyingYou
EA=floor (double (EA));
But EA already is int
Floor also said doesn't work...