| Package | stimulsoft.report.components.textFormats |
| Class | public class StiNumberFormatService |
| Inheritance | StiNumberFormatService StiFormatService StiService StiObject Object |
| Subclasses | StiCurrencyFormatService |
| Property | Defined By | ||
|---|---|---|---|
| decimalDigits : int Gets or sets indicates the number of decimal places to use in currency values. | StiNumberFormatService | ||
| decimalSeparator : String Gets or sets the string to use as the decimal separator in currency values. | StiNumberFormatService | ||
| groupSeparator : String
Gets or sets the string that separates groups of digits to the left
of the decimal in currency values. | StiNumberFormatService | ||
| groupSize : int Gets or sets the number of digits in group to the left of the decimal in currency values. | StiNumberFormatService | ||
![]() | isDefault : Boolean [read-only] | StiFormatService | |
![]() | isFormatStringFromVariable : Boolean [read-only] Internal use only. | StiFormatService | |
| nativeFormatString : String [override] [read-only] Returns native format string. | StiNumberFormatService | ||
| negativePattern : int Gets or sets the format pattern for negative numeric values. | StiNumberFormatService | ||
| nullDisplay : String Gets or sets string value to show the value null. | StiNumberFormatService | ||
| position : int [override] [read-only] | StiNumberFormatService | ||
![]() | properties : StiRepositoryItems | StiService | |
![]() | ref : int | StiFormatService | |
| sample : Object [override] [read-only] Gets value to show a sample of formatting. | StiNumberFormatService | ||
![]() | serviceCategory : String [read-only] Gets a service category. | StiService | |
![]() | serviceInfo : String [read-only] Gets a service description. | StiService | |
![]() | serviceName : String [read-only] Gets a service name. | StiService | |
![]() | serviceType : Class [read-only] Gets a service type. | StiService | |
| stringFormat : String [override] Gets or sets string of formatting. | StiNumberFormatService | ||
| useGroupSeparator : Boolean Gets or sets value indicates it is necessary to use a group separator. | StiNumberFormatService | ||
| useLocalSetting : Boolean Gets or sets value indicates it is necessary to use local settings. | StiNumberFormatService | ||
| Method | Defined By | ||
|---|---|---|---|
StiNumberFormatService(negativePattern:int = 1, decimalPlaces:int = 0, decimalSeparator:String = ., decimalDigits:int = 2, groupSeparator:String = , groupSize:int = 3, useGroupSeparator:Boolean = true, useLocalSetting:Boolean = true, nullDisplay:String = ) | StiNumberFormatService | ||
clone(... args):Object [override] | StiNumberFormatService | ||
equals(object:Object):Boolean [override] | StiNumberFormatService | ||
![]() | format(arg:*):String Formats the specified object in order of format and returns a string. | StiFormatService | |
formatStr(stringFormat:String, arg:*):String [override] | StiNumberFormatService | ||
![]() | getShortTypeName():String Get a short object type name (without library path). | StiObject | |
![]() | getType():Class | StiObject | |
![]() | getTypeName():String | StiObject | |
![]() | isSimple(object:*):Boolean [static] | StiObject | |
memberwiseClone():Object [override] | StiNumberFormatService | ||
![]() | packService():void | StiService | |
| decimalDigits | property |
decimalDigits:intGets or sets indicates the number of decimal places to use in currency values.
public function get decimalDigits():int public function set decimalDigits(value:int):void| decimalSeparator | property |
decimalSeparator:StringGets or sets the string to use as the decimal separator in currency values.
public function get decimalSeparator():String public function set decimalSeparator(value:String):void| groupSeparator | property |
groupSeparator:StringGets or sets the string that separates groups of digits to the left of the decimal in currency values.
public function get groupSeparator():String public function set groupSeparator(value:String):void| groupSize | property |
groupSize:intGets or sets the number of digits in group to the left of the decimal in currency values.
public function get groupSize():int public function set groupSize(value:int):void| nativeFormatString | property |
nativeFormatString:String [read-only] [override] Returns native format string.
public function get nativeFormatString():String| negativePattern | property |
negativePattern:intGets or sets the format pattern for negative numeric values.
public function get negativePattern():int public function set negativePattern(value:int):void| nullDisplay | property |
nullDisplay:StringGets or sets string value to show the value null.
public function get nullDisplay():String public function set nullDisplay(value:String):void| position | property |
position:int [read-only] [override] public function get position():int| sample | property |
sample:Object [read-only] [override] Gets value to show a sample of formatting.
public function get sample():Object| stringFormat | property |
stringFormat:String[override] Gets or sets string of formatting.
public function get stringFormat():String public function set stringFormat(value:String):void| useGroupSeparator | property |
useGroupSeparator:BooleanGets or sets value indicates it is necessary to use a group separator.
public function get useGroupSeparator():Boolean public function set useGroupSeparator(value:Boolean):void| useLocalSetting | property |
useLocalSetting:BooleanGets or sets value indicates it is necessary to use local settings.
public function get useLocalSetting():Boolean public function set useLocalSetting(value:Boolean):void| StiNumberFormatService | () | Constructor |
public function StiNumberFormatService(negativePattern:int = 1, decimalPlaces:int = 0, decimalSeparator:String = ., decimalDigits:int = 2, groupSeparator:String = , groupSize:int = 3, useGroupSeparator:Boolean = true, useLocalSetting:Boolean = true, nullDisplay:String = )negativePattern:int (default = 1) | |
decimalPlaces:int (default = 0) | |
decimalSeparator:String (default = .) | |
decimalDigits:int (default = 2) | |
groupSeparator:String (default = ) | |
groupSize:int (default = 3) | |
useGroupSeparator:Boolean (default = true) | |
useLocalSetting:Boolean (default = true) | |
nullDisplay:String (default = ) |
| clone | () | method |
override public function clone(... args):ObjectParameters
... args |
Object |
| equals | () | method |
override public function equals(object:Object):BooleanParameters
object:Object |
Boolean |
| formatStr | () | method |
override public function formatStr(stringFormat:String, arg:*):StringParameters
stringFormat:String | |
arg:* |
String |
| memberwiseClone | () | method |
override public function memberwiseClone():ObjectReturnsObject |