Commit ad8b58bc authored by rwm's avatar rwm

Constructor for Long

parent a5d926ca
......@@ -62,6 +62,9 @@ public class NumericValue extends AbstractValue {
public NumericValue(BigDecimal value, String units){
this(value, units, Operator.Equal);
}
public NumericValue(long value, String units){
this(new BigDecimal(value), units, Operator.Equal);
}
public NumericValue(BigDecimal value, String units, Operator operator){
this.value = value;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment