FormatOptions.IsValidAccuracy(Double)
Method
Description:
Checks whether an accuracy is valid for the display unit in this FormatOptions.
Checks whether an accuracy is valid for the display unit in this FormatOptions.
Remarks:
See the Accuracy property for details on valid accuracy values.
See the Accuracy property for details on valid accuracy values.
Parameters
Parameter | Type | Description |
---|---|---|
accuracy | Double | The accuracy to check. |
Return Value
Type | Description |
---|---|
Boolean | True if the accuracy is valid, false otherwise. |
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | UseDefault is true in this FormatOptions. |