예제 #1
0
 private WholeNumberPart(DigitSequence digitSequence)
     : base(digitSequence)
 {
     _value = digitSequence.Value;
 }
예제 #2
0
 private FractionalPart(FullStop fullStop, DigitSequence digitSequence)
     : base(fullStop, digitSequence)
 {
     var divisor = Math.Pow(10, digitSequence.DigitCount);
     _value = digitSequence.Value/divisor;
 }