clustering/common/src/main/java/org/jboss/as/clustering/dmr/ModelNodes.java
public static Optional<Float> optionalFloat(ModelNode value) {
        return value.isDefined() ? Optional.of(asFloat(value)) : Optional.empty();
    }
public static Optional<Float> optionalFloat(ModelNode value) {
        return value.isDefined() ? Optional.of(asFloat(value)) : Optional.empty();
    }
Returns the optional float value of the specified {@link ModelNode}.
@param value the model node
@return an optional value