NO

Author Topic: 'double' question  (Read 3969 times)

Alessio

  • Guest
'double' question
« on: September 12, 2007, 11:47:43 PM »
Hi,

I've a number like 1.22713333333335E-02.

How can I store it completely ?
And how I can show it with printf ?

thanks.

JohnF

  • Guest
Re: 'double' question
« Reply #1 on: September 13, 2007, 07:37:56 AM »
Hi,

I've a number like 1.22713333333335E-02.

How can I store it completely ?
And how I can show it with printf ?

thanks.

Store it? You mean include it in your code?

   double d = 1.22713333333335E-02;

RE: printf
Look up the printf "Formats for output"

John