1 11 package com.ibm.icu.util; 12 13 import java.lang.Number ; 14 15 24 public class CurrencyAmount extends Measure { 25 26 32 public CurrencyAmount(Number number, Currency currency) { 33 super(number, currency); 34 } 35 36 42 public CurrencyAmount(double number, Currency currency) { 43 super(new Double (number), currency); 44 } 45 46 51 public Currency getCurrency() { 52 return (Currency) getUnit(); 53 } 54 } 55 | Popular Tags |