How to avoid exponential conversion from unix to excel

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I am generating a csv file in unix by calling database view.
After generating the file,I am sending the file to business users through email.
so the problem is when they open the cvs, big numbers values are reflecting with exponential number 1.05501E+17 instead of the actual number 105501060000700000.



Is there any way to avoid this or to fix this in unix.
Thanks in Advance.










share|improve this question





















  • Yes,didn't work.
    – user313150
    Sep 27 at 20:00










  • Actual values are like this one 105501060000700000..
    – user313150
    Sep 27 at 20:18










  • I got the solution.
    – user313150
    Sep 27 at 20:39






  • 1




    @steve "=""1000000000000000000000""" imports as a string on my machine so I think you should post that as an answer.
    – Fabby
    Sep 27 at 20:47















up vote
1
down vote

favorite












I am generating a csv file in unix by calling database view.
After generating the file,I am sending the file to business users through email.
so the problem is when they open the cvs, big numbers values are reflecting with exponential number 1.05501E+17 instead of the actual number 105501060000700000.



Is there any way to avoid this or to fix this in unix.
Thanks in Advance.










share|improve this question





















  • Yes,didn't work.
    – user313150
    Sep 27 at 20:00










  • Actual values are like this one 105501060000700000..
    – user313150
    Sep 27 at 20:18










  • I got the solution.
    – user313150
    Sep 27 at 20:39






  • 1




    @steve "=""1000000000000000000000""" imports as a string on my machine so I think you should post that as an answer.
    – Fabby
    Sep 27 at 20:47













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I am generating a csv file in unix by calling database view.
After generating the file,I am sending the file to business users through email.
so the problem is when they open the cvs, big numbers values are reflecting with exponential number 1.05501E+17 instead of the actual number 105501060000700000.



Is there any way to avoid this or to fix this in unix.
Thanks in Advance.










share|improve this question













I am generating a csv file in unix by calling database view.
After generating the file,I am sending the file to business users through email.
so the problem is when they open the cvs, big numbers values are reflecting with exponential number 1.05501E+17 instead of the actual number 105501060000700000.



Is there any way to avoid this or to fix this in unix.
Thanks in Advance.







scripting






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 27 at 19:54









user313150

61




61











  • Yes,didn't work.
    – user313150
    Sep 27 at 20:00










  • Actual values are like this one 105501060000700000..
    – user313150
    Sep 27 at 20:18










  • I got the solution.
    – user313150
    Sep 27 at 20:39






  • 1




    @steve "=""1000000000000000000000""" imports as a string on my machine so I think you should post that as an answer.
    – Fabby
    Sep 27 at 20:47

















  • Yes,didn't work.
    – user313150
    Sep 27 at 20:00










  • Actual values are like this one 105501060000700000..
    – user313150
    Sep 27 at 20:18










  • I got the solution.
    – user313150
    Sep 27 at 20:39






  • 1




    @steve "=""1000000000000000000000""" imports as a string on my machine so I think you should post that as an answer.
    – Fabby
    Sep 27 at 20:47
















Yes,didn't work.
– user313150
Sep 27 at 20:00




Yes,didn't work.
– user313150
Sep 27 at 20:00












Actual values are like this one 105501060000700000..
– user313150
Sep 27 at 20:18




Actual values are like this one 105501060000700000..
– user313150
Sep 27 at 20:18












I got the solution.
– user313150
Sep 27 at 20:39




I got the solution.
– user313150
Sep 27 at 20:39




1




1




@steve "=""1000000000000000000000""" imports as a string on my machine so I think you should post that as an answer.
– Fabby
Sep 27 at 20:47





@steve "=""1000000000000000000000""" imports as a string on my machine so I think you should post that as an answer.
– Fabby
Sep 27 at 20:47











1 Answer
1






active

oldest

votes

















up vote
1
down vote













By adding "="" before the number and """ after, Excel should import as string, thus avoiding the exponential woe.



Instead of the original value of



105501060000700000


Add the extra characters, becoming as below, to import as string.



"=""105501060000700000"""





share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f471922%2fhow-to-avoid-exponential-conversion-from-unix-to-excel%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    By adding "="" before the number and """ after, Excel should import as string, thus avoiding the exponential woe.



    Instead of the original value of



    105501060000700000


    Add the extra characters, becoming as below, to import as string.



    "=""105501060000700000"""





    share|improve this answer
























      up vote
      1
      down vote













      By adding "="" before the number and """ after, Excel should import as string, thus avoiding the exponential woe.



      Instead of the original value of



      105501060000700000


      Add the extra characters, becoming as below, to import as string.



      "=""105501060000700000"""





      share|improve this answer






















        up vote
        1
        down vote










        up vote
        1
        down vote









        By adding "="" before the number and """ after, Excel should import as string, thus avoiding the exponential woe.



        Instead of the original value of



        105501060000700000


        Add the extra characters, becoming as below, to import as string.



        "=""105501060000700000"""





        share|improve this answer












        By adding "="" before the number and """ after, Excel should import as string, thus avoiding the exponential woe.



        Instead of the original value of



        105501060000700000


        Add the extra characters, becoming as below, to import as string.



        "=""105501060000700000"""






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 27 at 21:53









        steve

        13k22250




        13k22250



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f471922%2fhow-to-avoid-exponential-conversion-from-unix-to-excel%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?