ECN 5/3 digits
Results 1 to 3 of 3

Thread: ECN 5/3 digits

  1. #1
    I want a help, please.
    I can't get 5 digits into Remarks in an ECN platform.

    String A = DoubleToStr(Bid,Digits);
    Opinion(Bid string = ,A);
    double B = StrToDouble(A);
    Opinion(Bid double = ,B);

    It always shows 4 digits instead of 5.
    Just like in
    Opinion(Bid);

    Is another way to get 5 digits.
    Does anybody understand?
    Thanks in advance for your hand.

  2. #2
    You Have to use NormalizeDouble

    Therefore: DoubleToStr(NormalizeDouble(Bid,Digits),Digits)

  3. #3
    Maybe I did something wrong but it shows 4 digits instead of 5.
    That is something particular about ECN, I guess.


    Series A = DoubleToStr(NormalizeDouble(Bid,Digits),Digits);
    //Opinion(Bid series = ,A);
    dual B = StrToDouble(A);
    Comment(Bid dual = ,B);

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.