zk
Class BigDecimal

java.lang.Object
  extended by zk.Object
      extended by zk.BigDecimal

public class BigDecimal
extends Object

A big decimal.


Field Summary
 
Fields inherited from class zk.Object
$class, $oid
 
Method Summary
 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
 
Methods inherited from class zk.Object
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setPrecision

public void setPrecision(int precision)
Sets the precision

Parameters:
precision - the precision

getPrecision

public int getPrecision()
Returns the precision.

Default: 0

Returns:
int

$init

public void $init(Object value)
Constructor.

Parameters:
value - a number or a string

$toString

public String $toString()
Returns a string for this big decimal (per the original form). To have a Locale-dependent string, use $toLocaleString() instead.

Returns:
String

$toLocaleString

public String $toLocaleString()
Returns a Locale-dependent string for this big decimal(for human's eye).

Returns:
String


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo