Here you can find the source of min(BigDecimal one, BigDecimal other)
Parameter | Description |
---|---|
one | a parameter |
other | a parameter |
public static final BigDecimal min(BigDecimal one, BigDecimal other)
//package com.java2s; import java.math.BigDecimal; public class Main { /**/*from w ww .ja va 2 s . c om*/ * @param one * @param other * @return de kleinste van beide */ public static final BigDecimal min(BigDecimal one, BigDecimal other) { return (one.compareTo(other) < 0 ? one : other); } }