Java BigDecimal joinBigDecimals(List list)

Here you can find the source of joinBigDecimals(List list)

Description

join Big Decimals

License

Apache License

Declaration

public static String joinBigDecimals(List<BigDecimal> list) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.math.BigDecimal;

import java.util.List;

public class Main {
    public static String joinBigDecimals(List<BigDecimal> list) {
        String joined = "";
        if (list == null) {
            return joined;
        }/*from w w w.  ja  v  a2s. co m*/
        for (BigDecimal item : list) {
            joined += item + " ";
        }
        return joined.trim();
    }
}

Related

  1. incRatio(BigDecimal o1, BigDecimal o2)
  2. intToBigDecimal(int i)
  3. intValue(BigDecimal a)
  4. inverse(final BigDecimal amount)
  5. invert(BigDecimal d)
  6. jsonNumberToBigDecimal(final JsonNumber n, final int defaultValue)
  7. limitScale(BigDecimal value, int scale)
  8. matchScale(BigDecimal[] val)
  9. mean(List numbers, MathContext context)