Java BigDecimal Equal isEqualsToZero(BigDecimal value)

Here you can find the source of isEqualsToZero(BigDecimal value)

Description

is Equals To Zero

License

Apache License

Declaration

public static boolean isEqualsToZero(BigDecimal value) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.math.BigDecimal;

public class Main {
    public static boolean isEqualsToZero(BigDecimal value) {
        return value.compareTo(BigDecimal.ZERO) == 0;
    }/*from w w w. j  a va2 s. c  om*/
}

Related

  1. equalsBigDecimal(BigDecimal bd1, BigDecimal bd2)
  2. isEqual(BigDecimal aLhs, BigDecimal aRhs)
  3. isEqual(BigDecimal n1, BigDecimal n2, int precision)
  4. isEqual(BigDecimal value1, BigDecimal value2)
  5. isEqual(final BigDecimal value1, final BigDecimal value2)