[Archive c 17.03.2008] Humour [Archive to 28.04.2012] - page 199

 

A hangover ice compress invented in 1947 by a Max Factor employee for Hollywood actresses.

 

MT4 doesn't like 4...

#property link "http://www.metaquotes.net"
#property show_inputs
extern int Digit=0;
double Digit0;
//+------------------------------------------------------------------+
//| script program start function |
//+------------------------------------------------------------------+
int start()
{

//----
if (Digit==0) Digit0=Digits;

else Digit0=Digit;

Print (" Точность ", Digit0,". ",ND(0.123456789));

//----
return(0);
}
//+------------------------------------------------------------------+
//+------------------------------------------------------------------+
double ND (double v)
{
return(NormalizeDouble(v,Digit0));
}
//-------------------------------------------------------------------

Res. :о

2010.07.05 07:59:23 dig EURUSD,M5: Òî÷íîñòü 5. 0.1235

2010.07.05 07:59:23 dig EURUSD,M5: Digit=0;

2010.07.05 07:59:21 dig EURUSD,M5: loaded successfully
So that's a five digit number... ;)
 
Sorento:

MT4 does not like 4...

#property link "http://www.metaquotes.net"
#property show_inputs
extern int Digit=0;
double Digit0;
//+------------------------------------------------------------------+
//| script program start function |
//+------------------------------------------------------------------+
int start()
{

//----
if (Digit==0) Digit0=Digits;

else Digit0=Digit;

Print (" Точность ", Digit0,". ",ND(0.123456789));

//----
return(0);
}
//+------------------------------------------------------------------+
//+------------------------------------------------------------------+
double ND (double v)
{
return(NormalizeDouble(v,Digit0));
}
//-------------------------------------------------------------------

Res. :о

So much for the five digits... ;)

You're confused. Not NormalizeDouble, but DoubleToStr
 

>
 
Sorento:

MT4 does not like 4...

#property link "http://www.metaquotes.net"
#property show_inputs
extern int Digit=0;
double Digit0;
//+------------------------------------------------------------------+
//| script program start function |
//+------------------------------------------------------------------+
int start()
{

//----
if (Digit==0) Digit0=Digits;

else Digit0=Digit;

Print (" Точность ", Digit0,". ",ND(0.123456789));

//----
return(0);
}
//+------------------------------------------------------------------+
//+------------------------------------------------------------------+
double ND (double v)
{
return(NormalizeDouble(v,Digit0));
}
//-------------------------------------------------------------------

Res. :о

So much for the five digits... ;)

There's nothing to put in the double nine digits
 
xxx: Did you pass the session? Give your dad back his slap on the wrist!
 

>
 

>
 

It looks like a montage.


>
 
Kickpunch.... that's how you can do that =)))