All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.roguewave.examples.money.currency.v1_0.Format1

java.lang.Object
   |
   +----com.roguewave.examples.money.currency.v1_0.Format1

public class Format1
extends Object
Simple example illustrating that the MoneyFormat class can be used to do simple formatting of Money objects.

Author:
Trevor Misfeldt
See Also:
Money, MoneyFormat

Constructor Index

 o Format1()

Method Index

 o main(String[])
Run program by using this command.

Constructors

 o Format1
 public Format1()

Methods

 o main
 public static void main(String args[])
Run program by using this command.

java com.roguewave.examples.money.currency.v1_0.Format1

Output should appear as follows:

 Initial amount is USD$232.46
 After exchange it is CAD$361.14
 


All Packages  Class Hierarchy  This Package  Previous  Next  Index