StiObjectConverter Class
Namespace: Stimulsoft.Base
Helps a converts and works with objects.
Methods
| Method | Returns | Description |
|---|---|---|
ConvertToDecimal static |
decimal | Convert object to Decimal. |
ConvertToDouble static |
double | Convert object to Double. |
ConvertToInt64 static |
long | Convert object to Int64. |
ConvertToString static |
string | Convert array of bytes to string. |
Method Details
ConvertToDecimal static
ConvertToDecimal(value: object): decimal
Convert object to Decimal.
Parameters
- value (object) — Object for converting.
Returns decimal — Converted Decimal value.
ConvertToDouble static
ConvertToDouble(value: object): double
Convert object to Double.
Parameters
- value (object) — Object for converting.
Returns double — Converted Double value.
ConvertToInt64 static
ConvertToInt64(value: object): long
Convert object to Int64.
Parameters
- value (object) — Object for converting.
Returns long — Converted Int64 value.
ConvertToString static
ConvertToString(**: bytebytes): string
Convert array of bytes to string.
Parameters
- ** (bytebytes)
Returns string — Converted string.