Java BigDecimal from toBigDecimalArray(int[] ints)

Here you can find the source of toBigDecimalArray(int[] ints)

Description

to Big Decimal Array

License

Open Source License

Declaration

private static BigDecimal[] toBigDecimalArray(int[] ints) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.math.BigDecimal;

public class Main {
    private static BigDecimal[] toBigDecimalArray(int[] ints) {
        BigDecimal[] result = new BigDecimal[ints.length];
        for (int i = 0; i < ints.length; i++) {
            result[i] = new BigDecimal(ints[i]);
        }// w  ww.jav  a  2 s.  co m
        return result;
    }
}

Related

  1. toBigDecimal(String value)
  2. toBigDecimal(String value)
  3. toBigDecimal(String value)
  4. toBigDecimal(T value)
  5. toBigDecimal(Vector doubleVector)
  6. toBigDecimalList(double... list)
  7. toBigDecimalList(List list)
  8. toBigInteger(@Nullable final BigDecimal value)
  9. toBigIntString(final BigDecimal bigD)