ZOSAPI.Tools.IAPIUtilities Interface Reference
Last update: 17.07.2025Public Member Functions | |
| string | ConvertToStringFixed (double x, int digits) |
| Format the value as decimal. | |
| string | ConvertToStringFixed (double x) |
| Format the value as decimal based on preferences. | |
| string | ConvertToStringExp (double x, int digits) |
| Format the value as exponential. | |
| string | ConvertToStringExp (double x) |
| Format the value as exponential based on preferences. | |
| string | ConvertToStringCust (double x, int digits, double expBelow, double expAbove) |
| string | ConvertToStringPref (double x) |
Member Function Documentation
◆ ConvertToStringCust()
| string ZOSAPI.Tools.IAPIUtilities.ConvertToStringCust | ( | double | x, |
| int | digits, | ||
| double | expBelow, | ||
| double | expAbove | ||
| ) |
◆ ConvertToStringExp() [1/2]
| string ZOSAPI.Tools.IAPIUtilities.ConvertToStringExp | ( | double | x | ) |
Format the value as exponential based on preferences.
- Parameters
-
x The value to be formatted
- Returns
- The formatted value
◆ ConvertToStringExp() [2/2]
| string ZOSAPI.Tools.IAPIUtilities.ConvertToStringExp | ( | double | x, |
| int | digits | ||
| ) |
Format the value as exponential.
- Parameters
-
x The value to be formatted digits The number of digits after the decimal point
- Returns
- The formatted value
◆ ConvertToStringFixed() [1/2]
| string ZOSAPI.Tools.IAPIUtilities.ConvertToStringFixed | ( | double | x | ) |
Format the value as decimal based on preferences.
- Parameters
-
x The value to be formatted
- Returns
- The formatted value
◆ ConvertToStringFixed() [2/2]
| string ZOSAPI.Tools.IAPIUtilities.ConvertToStringFixed | ( | double | x, |
| int | digits | ||
| ) |
Format the value as decimal.
- Parameters
-
x The value to be formatted digits The number of digits after the decimal point
- Returns
- The formatted value
◆ ConvertToStringPref()
| string ZOSAPI.Tools.IAPIUtilities.ConvertToStringPref | ( | double | x | ) |