public class TypeCasting extends Object
| Constructor and Description |
|---|
TypeCasting() |
| Modifier and Type | Method and Description |
|---|---|
static BigDecimal |
toBigDecimal(Object obj) |
static BigDecimal |
toBigDecimal(Object obj,
int scale) |
static Byte |
toByte(Object obj) |
static Double |
toDouble(Object obj) |
static Float |
toFloat(Object obj) |
static Integer |
toInteger(Object obj) |
static Long |
toLong(Object obj) |
static Short |
toShort(Object obj) |
public static BigDecimal toBigDecimal(Object obj)
public static BigDecimal toBigDecimal(Object obj, int scale)
Copyright © 2018 University of Michigan. All rights reserved.