TYPE:

Description:

Price

Variables which hold price information.  Internally Price variables are stored in the same way as a floating point variables. Price variables are printed according the current instrument's formatting and show in the debugger using that format. Price variables are also unadjusted for any negative value adjustment that may be present because of a negative price series in the instrument's data.

 

Example:

'  Price TYPE example
VARIABLES: NumberIs TYPE: Price
 
'  Calculate two numbers
NumberIs = 3.364 * 1.108
 
'  Send number results to Log Window
PRINT "NumberIs = ", NumberIs

 

Returns:

'  Log window shows
NumberIs =  3.727312000

 

Links:

PRINT

See Also:

Data Group and Types

 


 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software