jasp.vbs
Class vbcurrency

java.lang.Object
  |
  +--jasp.vbs.vbcurrency

public class vbcurrency
extends java.lang.Object

This class implements the currency data type of VBScript. The value of Currency is from -922,337,203,685,477.5808 to 922,337,203,685,477.5807.


Constructor Summary
vbcurrency(double db)
          Constructs a vbcurrency object and initializes it to represent the specified number.
vbcurrency(java.lang.String db)
          Constructs a vbcurrency object and initializes it to represent the specified string.
 
Method Summary
 double dblValue()
          Returns the double value of this Currency.
 java.lang.String toString()
          Returns a string representation of the Currency.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

vbcurrency

public vbcurrency(double db)
           throws java.lang.Exception
Constructs a vbcurrency object and initializes it to represent the specified number.
Parameters:
db - the double value.

vbcurrency

public vbcurrency(java.lang.String db)
           throws java.lang.Exception
Constructs a vbcurrency object and initializes it to represent the specified string.
Parameters:
db - a string representation of the currency.
Method Detail

toString

public java.lang.String toString()
Returns a string representation of the Currency.
Overrides:
toString in class java.lang.Object

dblValue

public double dblValue()
Returns the double value of this Currency.