is Invalid Double - Java java.lang

Java examples for java.lang:double

Description

is Invalid Double

Demo Code


//package com.java2s;

public class Main {

    public static boolean isInvalidDouble(double v) {
        return Double.isInfinite(v) || Double.isNaN(v);
    }/*from  w w w .ja v  a2s.  c o  m*/
}

Related Tutorials