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):
public static bool IsValidAccuracy(
ForgeTypeId unitTypeId,
double accuracy
)
-
unitTypeIdIdentifier of the unit.
-
DoubleaccuracyThe accuracy to check.
-
unitTypeId is not a unit identifier. See UnitUtils.IsUnit(ForgeTypeId) and UnitUtils.GetUnitTypeId(DisplayUnitType).
-
A non-optional argument was null