System.Currency.ToDecimal C# (CSharp) 메소드

ToDecimal() 공개 정적인 메소드

public static ToDecimal ( Currency c ) : Decimal
c Currency
리턴 Decimal
        public static Decimal ToDecimal(Currency c)
        {
            Decimal result = new Decimal ();
            FCallToDecimal (ref result, c);
            return result;
        }

Usage Example

예제 #1
0
        // 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;
        }
All Usage Examples Of System.Currency::ToDecimal