public short shortValue ( ) throws OtpErlangRangeException { final long l = longValue ( ) ; final short i = ( short ) l ; if ( i != l ) { throw new OtpErlangRangeException ( "Value too large for short: " + val ) ; } return i ; }
Get this number as a short .