MarketChartDataPriceToDisplay Method

Convert the specified decimal price into it's display string.

Definition

Namespace: T4.API
Assembly: T4API.47 (in T4API.47.dll) Version: 4.7.0.0 (4.7.68.4)
C#
public string PriceToDisplay(
	decimal? pdecPrice
)

Parameters

pdecPrice  NullableDecimal
the price

Return Value

String
The formatted display price

Remarks

This takes into account the markets display format, e.g. for CBOT 10yr Note the prices will be displayed in half 32nds as 107160, instead of the decimal 107.50

If the price is null then a blank string will be returned.

See Also