NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::CAE::NumberFormat Class Reference

Represents the settings of format number value


Created in NX11.0.2. More...

Inheritance diagram for NXOpen::CAE::NumberFormat:
NXOpen::TaggedObject

Public Types

enum  FormatOption { FormatOptionAutomatic, FormatOptionFixed, FormatOptionScientific }
 Represents the format option. More...
 

Public Member Functions

int DecimalPlaces ()
 Returns the decimal places. More...
 
NXOpen::CAE::NumberFormat::FormatOption Format ()
 Returns the format option
Created in NX11.0.2. More...
 
void SetDecimalPlaces (int decimalPlaces)
 Sets the decimal places. More...
 
void SetFormat (NXOpen::CAE::NumberFormat::FormatOption format)
 Sets the format option
Created in NX11.0.2. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents the settings of format number value


Created in NX11.0.2.


Member Enumeration Documentation

Represents the format option.

Enumerator
FormatOptionAutomatic 

The program will determine the format internally.

FormatOptionFixed 

Format the number in fixed decimals.

FormatOptionScientific 

Format the number in scientific.

Member Function Documentation

int NXOpen::CAE::NumberFormat::DecimalPlaces ( )

Returns the decimal places.

The value should be between 0 and 9.
Created in NX11.0.2.

License requirements : None

NXOpen::CAE::NumberFormat::FormatOption NXOpen::CAE::NumberFormat::Format ( )

Returns the format option
Created in NX11.0.2.



License requirements : None

void NXOpen::CAE::NumberFormat::SetDecimalPlaces ( int  decimalPlaces)

Sets the decimal places.

The value should be between 0 and 9.
Created in NX11.0.2.

License requirements : None

Parameters
decimalPlacesdecimalplaces
void NXOpen::CAE::NumberFormat::SetFormat ( NXOpen::CAE::NumberFormat::FormatOption  format)

Sets the format option
Created in NX11.0.2.



License requirements : None

Parameters
formatformat

The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.