Java BigDecimal objToBigDecimal(Object obj)

Here you can find the source of objToBigDecimal(Object obj)

Description

obj To Big Decimal

License

Open Source License

Declaration

public static BigDecimal objToBigDecimal(Object obj) 

Method Source Code


//package com.java2s;

import java.math.BigDecimal;

public class Main {

    public static BigDecimal objToBigDecimal(Object obj) {
        BigDecimal bigDec = null;
        if (obj != null) {
            bigDec = (BigDecimal) obj;
        }/*from www.  j  av a2s  .  com*/
        return bigDec;
    }
}

Related

  1. nullSafeCompare(BigDecimal pPremierNombre, BigDecimal pSecondNombre)
  2. numberToWordsWithDecimal(BigDecimal value)
  3. nvl(final BigDecimal bigDecimal)
  4. nvlZero(BigDecimal num)
  5. objectToBigDecimal(Object object)
  6. PackUnit2Uom(BigDecimal packUit, String eachUnitName)
  7. percent0(final BigDecimal c, final BigDecimal percent)
  8. percentage(BigDecimal bd)
  9. percentChange(BigDecimal oldValue, BigDecimal newValue)