Here you can find the source of getAsDouble(BigDecimal value)
Parameter | Description |
---|---|
value | the value |
public static Double getAsDouble(BigDecimal value)
//package com.java2s; //License from project: Open Source License import java.math.BigDecimal; public class Main { /**// w w w . j a v a 2 s .co m * Gets the as double. * * @param value * the value * * @return the as double */ public static Double getAsDouble(BigDecimal value) { return value == null ? null : value.doubleValue(); } }