public class BigDecimal extends Object
Modifier and Type | Method and Description |
---|---|
void |
$init(Object value)
Constructor.
|
String |
$toLocaleString()
Returns a Locale-dependent string for this big decimal(for human's eye).
|
String |
$toString()
Returns a string for this big decimal (per the original form).
|
int |
getPrecision()
Returns the precision.
|
void |
setPrecision(int precision)
Sets the precision
|
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy
public void setPrecision(int precision)
precision
- the precisionpublic int getPrecision()
Default: 0
public void $init(Object value)
value
- a number or a stringpublic String $toString()
$toLocaleString()
instead.public String $toLocaleString()
Copyright © 2005-2023 Potix Corporation. All Rights Reserved.