public static bool LessThan(ScalarValue val1, ScalarValue val2) { return val1.GetDoubleValue() < val2.GetDoubleValue(); }