IPriceIntern Interface

GF API Documentation
Utility class for formatting and parsing prices

Namespace:  GF.Api.Utils
Assembly:  GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax

public interface IPriceIntern

The IPriceIntern type exposes the following members.

Properties

  NameDescription
Public propertyMaxValue
get/set maxvalue
Public propertyMinValue
get/set min value
Public propertyValue
Get or set current price value
Top
Methods

  NameDescription
Public methodDec
decrease value by 1 tick
Public methodFromString
Parse formatted price
Public methodGetPriceFormatString
Builds format string for use with string.Format(integer part, fractional part)
Public methodInc
increase value by 1 tick
Top
Remarks

This class using special notation for price format:
  • positive values specifies number of digits after decimal point (2 = 0.00)
  • negative - divisor of fraction (-32 = 1/32)
See Also

Reference