Article - CS20143

Is it possible to round off a real number attribute to 3 digits in Windchill PDMLink

Modified: 31-Dec-2025   


Applies To

  • Windchill PDMLink 8.0 to 13.1

Description

  • Is it possible to round off a real number attribute to 3 digits
  • Is it possible to round off mass property value to 3 digits or truncate any trailing zeroes
    • The mass property value is from Creo Parametric
  • Is it possible to round off mass property value to two decimal values 
    • The mass property value is from Creo Parametric
  • The properties com.ptc.core.meta.common.NumericToolkit.IGNORE_PRECISION_ENABLED=true And com.ptc.core.meta.common.NumericToolkit.MAXIMUM_ABSOLUTE_PRECISION=-3 do not allow to configure a fixed precision for all values defined as Real Number and Real Number with Units values
  • Is it possible to keep a trailing zero after the decimal point in the Real Number / Real Number with Units Attribute value after setting the com.ptc.core.meta.common.NumericToolkit.IGNORE_PRECISION_ENABLED property to true
    • For example, if a  Real Number / Real Number with Units Attribute has a value defined as 1.0 or 1.0000 during the object create/edit, the value will appear as 1 instead of 1.0 if com.ptc.core.meta.common.NumericToolkit.IGNORE_PRECISION_ENABLED property is set to true
  • Is it possible to configure the number of decimals displayed for the real type attribute
This is a printer-friendly version of Article 20143 and may be out of date. For the latest version click CS20143