Here you can find the source of getRSBigDecimal(Object object)
Parameter | Description |
---|---|
Object | object |
static public double getRSBigDecimal(Object object)
//package com.java2s; //License from project: Apache License import java.math.*; public class Main { /**//from w w w .j ava 2 s .c om * getRSBigDecimal, get fields value from a object * @param Object object * @return double */ static public double getRSBigDecimal(Object object) { if (object == null) return (double) 0; return ((BigDecimal) object).doubleValue(); } }