microsoft-azure-storage/src/com/microsoft/azure/storage/table/EntityProperty.java
public double getValueAsDouble() {
        if (this.getIsNull()) {
            throw new IllegalArgumentException(SR.ENTITY_PROPERTY_CANNOT_BE_NULL_FOR_PRIMITIVES);
        }
        else if (this.value.equals("Infinity") || this.value.equals("INF")) {
            return Double.POSITIVE_INFINITY;
        }
        else if (this.value.equals("-Infinity") || this.value.equals("-INF")) {
            return Double.NEGATIVE_INFINITY;
        }
        else if (this.value.equals("NaN")) {
            return Double.NaN;
        }
        else {
            return Double.parseDouble(this.value);
        }
    }
public double getValueAsDouble() {
        if (this.getIsNull()) {
            throw new IllegalArgumentException(SR.ENTITY_PROPERTY_CANNOT_BE_NULL_FOR_PRIMITIVES);
        }
        else if (this.value.equals("Infinity") || this.value.equals("INF")) {
            return Double.POSITIVE_INFINITY;
        }
        else if (this.value.equals("-Infinity") || this.value.equals("-INF")) {
            return Double.NEGATIVE_INFINITY;
        }
        else if (this.value.equals("NaN")) {
            return Double.NaN;
        }
        else {
            return Double.parseDouble(this.value);
        }
    }
public double getValueAsDouble ( ) { if ( this . getIsNull ( ) ) { throw new IllegalArgumentException ( SR . ENTITY_PROPERTY_CANNOT_BE_NULL_FOR_PRIMITIVES ) ; } else if ( this . value . equals ( "Infinity" ) || this . value . equals ( "INF" ) ) { return Double . POSITIVE_INFINITY ; } else if ( this . value . equals ( "-Infinity" ) || this . value . equals ( "-INF" ) ) { return Double . NEGATIVE_INFINITY ; } else if ( this . value . equals ( "NaN" ) ) { return Double . NaN ; } else { return Double . parseDouble ( this . value ) ; } }
Gets the value of this {@link EntityProperty} as a <code>double</code>.

@return
A <code>double</code> representation of the {@link EntityProperty} value.

@throws IllegalArgumentException
If the value is <code>null</code> or cannot be parsed as a <code>double</code>.
Gets the value of this { @link EntityProperty } as a <code > double< / code > .