Results 1 to 2 of 2
  1. #1
    New Member
    Join Date
    Jun 2016
    Location
    Germany
    Posts
    1
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Project Magenta Link2fs Problem with number format

    Hi,
    I extract the Whiskey compass from FSUIPC Offset 02CC, but have problems with the number format.
    265,0698852539 link2fs uses a dot for calculation, but I cannot change because I use panelbulder
    and panelbuilder uses the comma.
    Anyone an idea how to solve the issue?

    Regards Frank

  2. #2
    150+ Forum Groupie


    BushPilotWannabe's Avatar
    Join Date
    Jan 2014
    Location
    Alberta, Canada
    Posts
    176
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Link2fs Problem with number format

    One more chance to embarrass myself on line.
    Do you really need the delay?
    Substitute your variable for nav2

    delay (11);
    nav2 = "";
    nav2 += getChar();
    nav2 += getChar();
    nav2 += getChar();
    getChar();
    nav2 += ",";
    nav2 += getChar();
    nav2 += getChar();
    ....

    O.K. two chances

    I forgot that I copied the code. Is this what you were after? if not please give more details.
    ---CYXD ----- TWR --- GND ------ Closed
    ILS-- NDB -- 119.1 -- 121.9 ---- 11/2013

Tags for this Thread