public override IValue Divide(IntegerValue other) { return(new IntegerValue(other.Value / this.Value)); }
public override IValue Add(IntegerValue other) { return(new IntegerValue(other.Value + this.Value)); }
public override IValue Substract(IntegerValue other) { return(new IntegerValue(other.Value - this.Value)); }
public override BooleanValue LessThanOrEqualTo(IntegerValue other) { return(new BooleanValue(other.Value <= this.Value)); }
public override BooleanValue Equals(IntegerValue other) { return(new BooleanValue(other.Value == this.Value)); }
public override BooleanValue GreaterThanOrEqualTo(IntegerValue other) { return(new BooleanValue(other.Value >= this.Value)); }
public override IValue Multiply(IntegerValue other) { return(new IntegerValue(other.Value * this.Value)); }
public override IValue Add(IntegerValue other) { return(new StringValue(this.Value + other.Value.ToString(CultureInfo.InvariantCulture))); }
public override IValue Add(IntegerValue other) { return(new DecimalValue(this.Value + other.Value)); }
public override IValue Multiply(IntegerValue other) { return(new DecimalValue(this.Value * other.Value)); }