Java tutorial
//package com.java2s; public class Main { public static boolean isEqualToZero(double value) { return Math.abs(value - 0.0) < 0.01 ? true : false; } }