com.gams.api.GAMSOptions.EPutNR Enum Reference
Numeric round format for put files. More...
Public Member Functions | |
int | value () |
Get the int value of this enumerated PutNR. | |
Static Public Member Functions | |
static EPutNR | lookup (int val) |
Lookup all putNRs. | |
Public Attributes | |
ForE =(0) | |
Item is displayed in F or E format. | |
Rounded =(1) | |
Item is rounded to fit given width and decimals. | |
Scientific =(2) | |
Item is displayed in scientific notation. | |
RoundedFloatingDec =(3) | |
Item is rounded to fit given width. | |
ForEFloatingDec =(4) | |
Item is displayed in F or E format ignoring given decimals. | |
UndefinedPutNR =(5) | |
Undefined PutNR. | |
Detailed Description
Numeric round format for put files.
Member Function Documentation
◆ lookup()
|
static |
Lookup all putNRs.
- Parameters
-
val an int value to lookup
- Returns
- the enumerated PutNR that has the specified value, or UndefinedPutNR if the specified value is not found.
◆ value()
int com.gams.api.GAMSOptions.EPutNR.value | ( | ) |
Get the int value of this enumerated PutNR.
- Returns
- the putNR value
Member Data Documentation
◆ ForE
com.gams.api.GAMSOptions.EPutNR.ForE =(0) |
Item is displayed in F or E format.
◆ ForEFloatingDec
com.gams.api.GAMSOptions.EPutNR.ForEFloatingDec =(4) |
Item is displayed in F or E format ignoring given decimals.
◆ Rounded
com.gams.api.GAMSOptions.EPutNR.Rounded =(1) |
Item is rounded to fit given width and decimals.
◆ RoundedFloatingDec
com.gams.api.GAMSOptions.EPutNR.RoundedFloatingDec =(3) |
Item is rounded to fit given width.
◆ Scientific
com.gams.api.GAMSOptions.EPutNR.Scientific =(2) |
Item is displayed in scientific notation.
◆ UndefinedPutNR
com.gams.api.GAMSOptions.EPutNR.UndefinedPutNR =(5) |
Undefined PutNR.