BigDecimal.shortValue

Returns the value of the specified number as a {@code short}.

<p>This implementation returns the result of {@link #intValue} cast to a {@code short}.

@return the numeric value represented by this object after conversion to type {@code short}.

class BigDecimal
override
short
shortValue
()

Meta