示例#1
0
        protected override IDataItem TestFunc(IDataItem p1)
        {
            var u = p1.ToDouble().Value;
            var w = Rational.From(u);

            return(new RationalDataItem(w));
        }