Closed kindrowboat closed 11 years ago
Example: 5.meter + 2.inches returns 7.meters.
I think either the second operand should be converted to the units of the first, or an exception should be raised.
Yeah I'd consider this a bug I introduced. I've fixed this for addition and subtraction on master. I'll handle multiplication and division seperately.
Example: 5.meter + 2.inches returns 7.meters.
I think either the second operand should be converted to the units of the first, or an exception should be raised.