OEC Application Programming Interface

Contract.StringToPrice Method 

Parses text price according to contract price format.

public Double StringToPrice(
   String Price
);

Parameters

Price
Price in text form, such as "108 27.50"

Return Value

decimal value, 108.859375 for the price above

See Also

Contract Class | OEC.API Namespace