Prceision greater than that of a double

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ravipanchal
    New Member
    • Feb 2008
    • 1

    Prceision greater than that of a double

    Hi

    Could anyone help me in a precision code,
    i want my output to a file to be to precision(12)
    but this dont apply to when a output is 0.0003127648273 72 which is defined as double.
    Is there anyway to make this figure to precision 12 including the zero's and not after the zero's. This applies to a list of values in my output file.
    If anyone knows of a decimal point code then please let me know.

    thanks
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    ravipanchal-

    Please do not "thread hijack" (ask your question in someone else's thread). It is EXTREMELY rude. I will split this off for you. Please review the Posting Guidelines of this site for the rest of the rules we ask everyone who posts to abide by.

    So what have you tried on this? Did you Google search for a library that will allow for a datatype with extra precision?

    Thanks,

    sicarie

    Comment

    • Simonius
      New Member
      • Feb 2008
      • 47

      #3
      And what code have you tried + which language?

      Comment

      • RedSon
        Recognized Expert Expert
        • Jan 2007
        • 4980

        #4
        Originally posted by Simonius
        And what code have you tried + which language?
        Language is probably c/c++ code. Have you tried searching google for libraries?

        Comment

        • Simonius
          New Member
          • Feb 2008
          • 47

          #5
          Originally posted by RedSon
          Language is probably c/c++ code. Have you tried searching google for libraries?
          I know, but C != C++.

          Comment

          Working...