FloatMethods class | QSYS API Reference Guide
Contains extension methods for handling RPG operations for floating point numbers.
Namespace: ASNA.QSys.Runtime Assembly: ASNA.QSys.Runtime.dll
Inheritance: Object
Methods
Signature | Description |
---|---|
RoundUp(Single, Int32) | RoundUp summary. |
RoundUp(Double, Int32) | RoundUp summary. |
decimal RoundUp(float number, int decimals)
RoundUp summary.
decimal RoundUp(float number, int decimals)
Parameters
Type | Parameter name | Description |
---|---|---|
Single | number | RoundUp number param. |
Int32 | decimals | RoundUp decimals param. |
Returns
Type | Description |
---|---|
Decimal | RoundUp returns. |
decimal RoundUp(double number, int decimals)
RoundUp summary.
decimal RoundUp(double number, int decimals)
Parameters
Type | Parameter name | Description |
---|---|---|
Double | number | RoundUp number param. |
Int32 | decimals | RoundUp decimals param. |
Returns
Type | Description |
---|---|
Decimal | RoundUp returns. |