<Code Lib>
2027 Method
Changes 1
M

FormatOptions.CanSuppressLeadingZeros(ForgeTypeId)

Description:
Checks whether leading zeros can be suppressed for a given unit.
Overloads (2):
CanSuppressLeadingZeros(ForgeTypeId)

public static bool CanSuppressLeadingZeros(
	ForgeTypeId unitTypeId
)

Return Value Boolean 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

Loading…