public static Number getExactlyNumber ( final String value , final int radix ) { try { return getBigInteger ( value , radix ) ; } catch ( final NumberFormatException ex ) { return new BigDecimal ( value ) ; } }
Get exactly number value and type .