Long g=10
Byte=(byte) (int) (g/3), int is necessary to add? What is the meaning of?

CodePudding user response:
Don't needIs not among the floating point will be lost accuracy
Add this layer between the int doesn't make sense


CodePudding user response:
Don't need