Java BigDecimal Create getBigDecimalFrom(double value)

Here you can find the source of getBigDecimalFrom(double value)

Description

get Big Decimal From

License

Apache License

Declaration

private static BigDecimal getBigDecimalFrom(double value) 

Method Source Code


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

import java.math.BigDecimal;

public class Main {
    private static BigDecimal getBigDecimalFrom(double value) {
        return new BigDecimal(String.valueOf(value));
    }//from   ww w  .j  a v a 2 s.com
}

Related

  1. getBigDecimal(Object value)
  2. getBigDecimal(String aInput)
  3. getBigDecimal(String value)
  4. getBigDecimalArrayFromByteArray(byte[] buf)
  5. getBigDecimalByObject(Object obj)
  6. getBigDecimalFromByteArray(byte[] bytes, int start, int length, int scale)
  7. getBigDecimalFromPrimitiveTypes(int input, int scale, int precision)
  8. getBigDecimalOrNull(Object value)
  9. getBigDecimalValue(Object o)