Home > Back-end >  A novice for guidance
A novice for guidance

Time:10-06


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 problem
2 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 run

CodePudding user response:

This is a warning, the program can run

CodePudding 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 run

CodePudding user response:

If dry chewing annoying
You
EA=floor (double (EA));

But EA already is int

Floor also said doesn't work...
  • Related