Here you can find the source of isPositive(BigDecimal number)
public static boolean isPositive(BigDecimal number)
//package com.java2s; //License from project: Apache License import java.math.BigDecimal; public class Main { public static boolean isPositive(BigDecimal number) { return number.signum() == 1; }/*from w w w . j a va2 s . c om*/ }