[Minor] Fixing constructors for State value

This commit is contained in:
Robert von Burg 2019-03-06 16:55:27 +01:00
parent 2f17b6a306
commit 349dcce6f7
1 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,10 @@ public class FloatValue implements IValue<Double>, Serializable {
this.value = value.doubleValue();
}
public FloatValue(Long value) {
this.value = value.doubleValue();
}
public FloatValue(String valueAsString) throws NumberFormatException {
this.value = Double.parseDouble(valueAsString);
}