NumberFormat Class¶
-
class
NXOpen.CAE.NumberFormat¶ Bases:
NXOpen.TaggedObjectRepresents the settings of format number value
New in version NX11.0.2.
Properties¶
| Property | Description |
|---|---|
| DecimalPlaces | Returns or sets the decimal places. |
| Format | Returns or sets the format option |
| Tag | Returns the Tag for this object. |
Methods¶
Enumerations¶
| NumberFormatFormatOption Enumeration | Represents the format option |
Property Detail¶
DecimalPlaces¶
-
NumberFormat.DecimalPlaces¶ Returns or sets the decimal places.
The value should be between 0 and 9.
-------------------------------------Getter Method
Signature
DecimalPlacesReturns: Return type: int New in version NX11.0.2.
License requirements: None.
-------------------------------------Setter Method
Signature
DecimalPlacesParameters: decimalPlaces (int) – New in version NX11.0.2.
License requirements: None.
Format¶
-
NumberFormat.Format¶ Returns or sets the format option
-------------------------------------Getter Method
Signature
FormatReturns: Return type: NXOpen.CAE.NumberFormatFormatOptionNew in version NX11.0.2.
License requirements: None.
-------------------------------------Setter Method
Signature
FormatParameters: format ( NXOpen.CAE.NumberFormatFormatOption) –New in version NX11.0.2.
License requirements: None.