/** This class will represent monetary values */
public class Money {
    /** Count of the base unit of the currency */
    private long value;

    /** Constructor:  initialize to specified amount */
    public Money(long amount) {
        value = (int)(100*amount);
    }

    /** Constructor:  initialize to zero */
    public Money() {
        this(0);
    }

    /** Copy constructor */
    public Money(Money m) {
        this(m.value);
    }
}