@Deprecated
    public boolean isNaturalNumber() {
        return !isFloatingPointNumber();
    }
Gets the number value as a BigDecimal if possible.

<p>NaN and infinite numbers will return an empty Optional.

@return Returns the BigDecimal value of the wrapped number.
smithy-model/src/main/java/software/amazon/smithy/model/node/NumberNode.java