Java examples for java.lang:double
is double Zero
//package com.java2s; public class Main { private static final double ZERO_EPSILON = 0.000001; public static boolean isZero(double a) { return Math.abs(a) < ZERO_EPSILON; }/*from w w w . j ava 2s.co m*/ }