Java BigDecimal to bigDecimalToInteger(BigDecimal value)

Here you can find the source of bigDecimalToInteger(BigDecimal value)

Description

big Decimal To Integer

License

Open Source License

Declaration

public static Integer bigDecimalToInteger(BigDecimal value) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.math.BigDecimal;

public class Main {

    public static Integer bigDecimalToInteger(BigDecimal value) {
        if (value != null) {
            return new Integer(value.intValue());
        }//from  w  w  w. ja  v  a2s  .  c o  m
        return null;
    }
}

Related

  1. bigDecimalToByte(BigDecimal num)
  2. bigDecimalToBytes(BigDecimal decimal)
  3. bigDecimalToDbString(BigDecimal bd)
  4. bigDecimaltoJSONString(Object obj)
  5. bigDecimalToLong(BigDecimal bigDecimal)
  6. bigDecimalToLong(BigDecimal value)
  7. bigDecimalToStellarBalance(final BigDecimal balance)