Here you can find the source of toBigDecimalArray(int[] ints)
private static BigDecimal[] toBigDecimalArray(int[] ints)
//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; } }