Here you can find the source of min(BigDecimal a, BigDecimal b)
Parameter | Description |
---|---|
a | a parameter |
b | a parameter |
private static BigDecimal min(BigDecimal a, BigDecimal b)
//package com.java2s; //License from project: Apache License import java.math.BigDecimal; public class Main { /**/* w w w . jav a2 s. c o m*/ * Returns the minimum value between the two. * @param a * @param b * @return */ private static BigDecimal min(BigDecimal a, BigDecimal b) { if (a == null) return b; if (b == null) return a; return a.min(b); } }