FormatOptions.CanSuppressTrailingZeros
Description:
Checks whether trailing zeros can be suppressed for a given unit.
Checks whether trailing zeros can be suppressed for a given unit.
Overloads (3):
CanSuppressTrailingZeros(ForgeTypeId)
public static bool CanSuppressTrailingZeros(
ForgeTypeId unitTypeId
)
-
unitTypeIdIdentifier of the unit.
Return Value
bool
True if trailing zeros can be suppressed, false otherwise.
-
unitTypeId is not a unit identifier. See UnitUtils.IsUnit(ForgeTypeId) and UnitUtils.GetUnitTypeId(DisplayUnitType).
-
A non-optional argument was NULL