Here you can find the source of greaterThanZero(BigDecimal is)
Parameter | Description |
---|---|
is | a parameter |
public static final boolean greaterThanZero(BigDecimal is)
//package com.java2s; import java.math.BigDecimal; public class Main { /**//w w w . j ava2s.c o m * @param is * @return true als de waarde groter is dan BigDecimal.ZERO en !=null */ public static final boolean greaterThanZero(BigDecimal is) { return is != null && is.compareTo(BigDecimal.ZERO) > 0; } }