Point problem

 

I've run the script below on both IBFX and FXCBS. When I run the script below on a 4-digit platform, I get .0001 When I run it on a 5-digit I get 0. Can somebody tell me why? I'd think that the Point function would remain the same on both even though they go to a higher precision.

int start()
{
Comment( StringConcatenate( "Point = ", Point ) );
return(0);
}

 
BillR :

I've run the script below on both IBFX and FXCBS. When I run the script below on a 4-digit platform, I get .0001 When I run it on a 5-digit I get 0. Can somebody tell me why? I'd think that the Point function would remain the same on both even though they go to a higher precision.

int start()
{
Comment( StringConcatenate( "Point = ", Point ) );
return(0);
}

Try this on both:

Comment("Point = ",Point);

Then try this on both:

Comment("Point = ", DoubleToStr(Point,5 ) );


I'm just trying to eliminate the fact that you're using a function designed to concatenate strings with Point, which is a double rather than a string.

Reason: