NTiRoundOption Enumeration
Description
The NTiRoundOption enum represents the different ways to round floating point real numbers that have too many decimal places for .NET.
Values
| Key | Value | Description |
|---|---|---|
HalfEven |
0 | Round to the nearest digit, to the nearest even digit if tie. |
HalfUp |
1 | Round to the nearest digit, round up if tie. |
Down |
2 | Truncation. |
Ceiling |
3 | Round towards +infinity. |
Floor |
4 | Round towards -infinity. |
HalfDown |
5 | Round to the nearest digit, truncate if tie. |
Up |
6 | Round up. |
What's next?
- NTiConnection - complete connection class reference
- NTiProgramParameter - IBM i program and system API parameters
- NTiCatalogName - DB2 for i catalogs available via
GetSchema() - NTiType - DB2 for i data types supported by NTi