public static final BigDecimal printRate ( Rate rate ) { BigDecimal result = null ; if ( rate != null && rate . getAmount ( ) != 0 ) { result = new BigDecimal ( rate . getAmount ( ) ) ; } return result ; }
Print rate .