Hi:
I have tried very much, but now totally dishearted!
I have this string str = "1.4060"
And i want to send an Order with this price.
I need to convert it in Double. So when i convert it to double using StrToDouble, it removes last 0 and return this 1.406
And OrderSend function is not accepting this value, it is return 129 error because amount of digits after decimal points are not normalized.
So i try it: NormalizeDouble(StrToDouble(str),4) But it is not working!
It should return 1.4060
But it is not adding last 0
Please help me, to make double 1.406 to 14060
Thanks
Burhan Khan
I have tried very much, but now totally dishearted!
I have this string str = "1.4060"
And i want to send an Order with this price.
I need to convert it in Double. So when i convert it to double using StrToDouble, it removes last 0 and return this 1.406
And OrderSend function is not accepting this value, it is return 129 error because amount of digits after decimal points are not normalized.
So i try it: NormalizeDouble(StrToDouble(str),4) But it is not working!
It should return 1.4060
But it is not adding last 0
Please help me, to make double 1.406 to 14060
Thanks
Burhan Khan