예제 #1
0
        public NumGroupType(int value, int unit)
        {
            NumType num = new NumType(value, unit);

            others = new List <NumType>();
            others.Add(num);
        }
예제 #2
0
        public NumType lowNum;   //小数部分 3位

        public FNumType(float value, int unit)
        {
            highNum = new NumType((int)value, unit);

            lowNum = new NumType((int)((value - (int)value) * 1000), unit - 1);
        }