2025.3 Method
Changes 1
M

FormatOptions.CanSuppressTrailingZeros

Description:
Checks whether trailing zeros can be suppressed for a given unit.
Overloads (2):
CanSuppressTrailingZeros(ForgeTypeId)
public static bool CanSuppressTrailingZeros(
	ForgeTypeId unitTypeId
)
Return Value Boolean 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