FormatOptions.IsValidAccuracy
Description:
Checks whether an accuracy is valid for a given unit.
Checks whether an accuracy is valid for a given unit.
Remarks:
See the Accuracy property for details on valid accuracy values.
See the Accuracy property for details on valid accuracy values.
Overloads (2):
IsValidAccuracy(ForgeTypeId,Double)
public static bool IsValidAccuracy(
ForgeTypeId unitTypeId,
double accuracy
)
-
unitTypeIdIdentifier of the unit.
-
DoubleaccuracyThe accuracy to check.
Return Value
bool
True if the accuracy is valid, false otherwise.
-
unitTypeId is not a unit identifier. See UnitUtils.IsUnit(ForgeTypeId) and UnitUtils.GetUnitTypeId(DisplayUnitType).
-
A non-optional argument was null