a question related to mt4excel

 

Hi all

what is the command to have only 4 digits after the decimal when working with mt4excel ?

for example if we devide 1.2967 / 3 = 0.4322333333333333

i want just 4 digits in the cell 0.4322 after the decimal

Thanks in advanced

 
adaheem:

Hi all

what is the command to have only 4 digits after the decimal when working with mt4excel ?

for example if we devide 1.2967 / 3 = 0.4322333333333333

i want just 4 digits in the cell 0.4322 after the decimal

Thanks in advanced

NormalizeDouble((1.2967 / 3),4);
 

Thanks for the reply

but the question is assuming the high price is 1.2967, it may be different every time

my question is that the answer is 4 digits only what ever the number is

Reason: