myNumber.intValue
Any Number can be converted to any primitive with similar methods: floatValue, doubleValue, shortValue, longValue, etc.
myNumber.intValue
Any Number can be converted to any primitive with similar methods: floatValue, doubleValue, shortValue, longValue, etc.