StiNumberFormatService Class
Namespace: Stimulsoft.Report.Components.TextFormats
Inheritance
Inherits from: StiFormatService
Constructors
| Constructor | Description |
|---|---|
| StiNumberFormatService() | Creates a new format of the type StiNumberFormatService. |
StiNumberFormatService()
Creates a new format of the type StiNumberFormatService.
Methods
| Method | Returns | Description |
|---|---|---|
| Clone (+1 overloads) | object | |
| CorrectNegativeZero | object | |
| CreateNew | StiFormatService | |
| Equals | bool | |
| Format | string | Formats the specified object in order of regulations and returns a string. |
| GetHashCode | int | |
| LoadFromJsonObject | void | |
| SaveToJsonObject | JObject |
Method Details
Clone
Clone(): object
Returns object
Clone(): object
Returns object
CorrectNegativeZero
CorrectNegativeZero(arg: object, decimalDigits: int): object
Parameters
- arg (object)
- decimalDigits (int)
Returns object
CreateNew
CreateNew(): StiFormatService
Returns StiFormatService
Equals
Equals(obj: object): bool
Parameters
- obj (object)
Returns bool
Format
Format(stringFormat: string, arg: object): string
Formats the specified object in order of regulations and returns a string.
Parameters
- stringFormat (string) — String of formatting.
- arg (object) — Object for formatting.
Returns string — Formatted string.
GetHashCode
GetHashCode(): int
Returns int
LoadFromJsonObject
LoadFromJsonObject(jObject: JObject): void
Parameters
- jObject (JObject)
SaveToJsonObject
SaveToJsonObject(mode: StiJsonSaveMode): JObject
Parameters
- mode (StiJsonSaveMode)
Returns JObject
Fields
| Field | Type | Description |
|---|---|---|
| decimalDigits | int | |
| decimalSeparator | string | |
| groupSeparator | string | |
| groupSize | int | |
| negativePattern | int | |
| nullDisplay | string | |
| states | StiTextFormatState | |
| useGroupSeparator | bool | |
| useLocalSetting | bool |