예제 #1
0
 public PyDecimal(float value)
 {
     this.Value       = value;
     this.DecimalType = DecimalTypeEnum.Float;
 }
예제 #2
0
 public PyDecimal(float value) : base(PyObjectType.Decimal)
 {
     this.Value       = value;
     this.DecimalType = DecimalTypeEnum.Float;
 }
예제 #3
0
 public PyDecimal(double value)
 {
     this.Value       = value;
     this.DecimalType = DecimalTypeEnum.Double;
 }
예제 #4
0
 public PyDecimal(double value) : base(PyObjectType.Decimal)
 {
     this.Value       = value;
     this.DecimalType = DecimalTypeEnum.Double;
 }