FormatOptions.CanSuppressLeadingZeros
Description:
Checks whether leading zeros can be suppressed for a given unit.
Checks whether leading zeros can be suppressed for a given unit.
Overloads (2):
CanSuppressLeadingZeros(ForgeTypeId)
public static bool CanSuppressLeadingZeros(
ForgeTypeId unitTypeId
)
-
unitTypeIdIdentifier of the unit.
Return Value
bool
True if leading 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