Utility class for formatting and parsing prices
Namespace: GF.Api.Utils
Assembly: GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax
The IPriceIntern type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | MaxValue |
get/set maxvalue
|
![]() | MinValue |
get/set min value
|
![]() | Value |
Get or set current price value
|
Methods
Name | Description | |
---|---|---|
![]() | Dec |
decrease value by 1 tick
|
![]() | FromString |
Parse formatted price
|
![]() | GetPriceFormatString |
Builds format string for use with string.Format(integer part, fractional part)
|
![]() | Inc |
increase value by 1 tick
|
Remarks
- positive values specifies number of digits after decimal point (2 = 0.00)
- negative - divisor of fraction (-32 = 1/32)
See Also