Calculation question?

 

i have a made a simple calculation that would show the OPen for the date..

but it shows me example: cadjpy open 99.25 but it shows in my window 99.250000000

how do i remove the zeros? what code do i need? please help.. thank you

 
antone:
i have a made a simple calculation that would show the OPen for the date..

but it shows me example: cadjpy open 99.25 but it shows in my window 99.250000000

how do i remove the zeros? what code do i need? please help.. thank you

Hi. Just use 'NormalizeDouble(Price,Decimal places)'

 
omelette:
Hi. Just use 'NormalizeDouble(Price,Decimal places)'

thanks.. i will try it...