NumberFormat Class

class NXOpen.CAE.NumberFormat

Bases: NXOpen.TaggedObject

Represents 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 DecimalPlaces

Returns:
Return type:int

New in version NX11.0.2.

License requirements: None.

-------------------------------------

Setter Method

Signature DecimalPlaces

Parameters:decimalPlaces (int) –

New in version NX11.0.2.

License requirements: None.

Format

NumberFormat.Format

Returns or sets the format option

-------------------------------------

Getter Method

Signature Format

Returns:
Return type:NXOpen.CAE.NumberFormatFormatOption

New in version NX11.0.2.

License requirements: None.

-------------------------------------

Setter Method

Signature Format

Parameters:format (NXOpen.CAE.NumberFormatFormatOption) –

New in version NX11.0.2.

License requirements: None.