[]
Validates a double value to make sure it is valid and is within the specified min/max range limit.
public static void ValidateDouble(double value, double min, double max)
| Type | Name | Description |
|---|---|---|
| double | value | A double value to validate. |
| double | min | A double value representing the minimum integer allowed. |
| double | max | A double value representing the maximum integer allowed. |
| Type | Condition |
|---|---|
| ReportDefinitionException | Throws if the value is out of range limit. |
Validates an expression value to make sure it is valid and is within the specified min/max values.
public static void ValidateDouble(ExpressionInfo expression, double min, double max)
| Type | Name | Description |
|---|---|---|
| ExpressionInfo | expression | An ExpressionInfo value to validate. |
| double | min | A double value representing the minimun size allowed. |
| double | max | A double value representing the maximum size allowed. |
ExpressionInfo value = ExpressionInfo.FromString("2.5");
ValidationUtils.ValidateDouble(value, 0.0d, 5.0d);
| Type | Condition |
|---|---|
| ReportDefinitionException | Throws if the value is out of range limit. |