IStringsApiParsePrice Method

GF API Documentation
Parses text price according to contract price format.

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

double ParsePrice(
	ContractID contractID,
	string price
)

Parameters

contractID
Type: GF.Api.ContractsContractID
Contract whose price is being parsed
price
Type: SystemString
Price in text form, such as "108 27.50"

Return Value

Type: Double
decimal value, 108.859375 for the price above
See Also

Reference