Home > Back-end >  Long g=10 byte=(byte) (int) (g/3), int is necessary to add? What is the meaning of?
Long g=10 byte=(byte) (int) (g/3), int is necessary to add? What is the meaning of?

Time:09-29

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

CodePudding user response:

Don't need
Is not among the floating point will be lost accuracy
Add this layer between the int doesn't make sense
  • Related