PriceFormat

Top  Previous  Next

Returns the price formatted for printing. For example, a price for Soybeans of 6.25 will return "6 1/4".

 

Syntax

 

roundedValue = PriceFormat( price )

 

Parameters

price

 

the price to be formatted

 

Example

' Print the price.

PRINT "Price = ", instrument.PriceFormat( entryPrice )