public static Decimal ToDecimal(Currency c) { Decimal result = new Decimal (); FCallToDecimal (ref result, c); return result; }
// Constructs a Decimal from a Currency value. // internal Decimal(Currency value) { Decimal temp = Currency.ToDecimal(value); this.lo = temp.lo; this.mid = temp.mid; this.hi = temp.hi; this.flags = temp.flags; }