public boolean isFloatingPointNumber() {
        return value == null || value.scale() > 0 || toString().contains(".");
    }
Returns true if the node contains a floating point number.

@return Returns true if the node contains a floating point number.
smithy-model/src/main/java/software/amazon/smithy/model/node/NumberNode.java