IntPtr Value
 

A pointer to actual AfDalDecimal pointer holded by this class.

Here is an example on using AfDecimal class:

using System;
using AfArch.AfDal;

public class TestAfDalDecimal {

        public static void Main (string [] arguments) {
                AfDecimal d1 = new AfDecimal ("10.2");
                AfDecimal d2 = new AfDecimal ("10.3");
                AfDecimal d3 = new AfDecimal ("10.2");
                
                Console.WriteLine ("Decimal created: " + d1);
                Console.WriteLine ("Decimal created: " + d2);
                Console.WriteLine ("Decimal created: " + d3);

                if (d1.Equals(d3)) {
                        Console.WriteLine ("Decimal " + d1 + " is equal to " + d3);
                }

                if (!d1.Equals(d2)) {
                        Console.WriteLine ("Decimal " + d1 + " is not equal to " + d2);
                }

                
        }
}