public abstract class NumberCastUtil extends AbstractCastUtil
| Constructor and Description |
|---|
NumberCastUtil() |
| Modifier and Type | Method and Description |
|---|---|
protected static <T> T |
bigDecimalToNumber(BigDecimal number,
Class<T> type) |
protected static Number |
cast(Object value) |
protected static BigDecimal |
numberToBigDecimal(Number value) |
protected static String |
numberToString(Number number) |
protected static <T> T |
stringToNumber(String number,
Class<T> type) |
castAsprotected static BigDecimal numberToBigDecimal(Number value)
protected static <T> T bigDecimalToNumber(BigDecimal number, Class<T> type)
Copyright © 2015 Omnia Consulting. All rights reserved.