Java BigDecimal percentToFactor(BigDecimal percent)

Here you can find the source of percentToFactor(BigDecimal percent)

Description

percent To Factor

License

Open Source License

Declaration

public static BigDecimal percentToFactor(BigDecimal percent) 

Method Source Code

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

import java.math.BigDecimal;

public class Main {
    public static BigDecimal percentToFactor(BigDecimal percent) {
        int PERCENT_DECIMAL_SHIFT = 2;
        return percent.movePointLeft(PERCENT_DECIMAL_SHIFT);
    }//from   w ww. ja  va 2 s.  co m
}

Related

  1. PackUnit2Uom(BigDecimal packUit, String eachUnitName)
  2. percent0(final BigDecimal c, final BigDecimal percent)
  3. percentage(BigDecimal bd)
  4. percentChange(BigDecimal oldValue, BigDecimal newValue)
  5. percentOf(BigDecimal fullAmount, int percentToKeep)
  6. printBigDecimal(BigDecimal decimal)
  7. printGainHTML(BigDecimal gain)
  8. putBigDecimal(byte[] bytes, int offset, BigDecimal val)
  9. randomBigDecimal()