public class BigDecimalFormat extends AbstractNumberFormat<BigDecimal>
Constructor and Description |
---|
BigDecimalFormat(boolean impliedDecimalPosition,
int precision,
Locale locale) |
Modifier and Type | Method and Description |
---|---|
String |
format(BigDecimal object)
Formats the object into a String
|
BigDecimal |
parse(String string)
Parses a String into an object
|
getFormat, getMultiplier, getPrecision, hasImpliedDecimalPosition
public BigDecimalFormat(boolean impliedDecimalPosition, int precision, Locale locale)
public String format(BigDecimal object) throws Exception
Format
object
- the objectException
- can be thrownpublic BigDecimal parse(String string) throws Exception
Format
string
- the stringException
- can be thrownApache Camel