Search:

Type: Posts; User: tetriswhiz

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    56,528

    double to string conversion

    Does anyone know how to convert from a double type to string a string type?
    I know I can use itoa() for integers, ltoa() for long values. but what about double?
  2. Replies
    4
    Views
    1,265

    Hi everyone, thanks for the help! For the 1st...

    Hi everyone, thanks for the help!

    For the 1st part, I was confused since I have this book that says the range of double is 2.2E-308 to 1.8E308.
    Well, I just checked with a calculator and 8 bytes...
  3. Replies
    4
    Views
    1,265

    what's wrong?

    here's my code:



    #include <stdio.h>
    #include <stdlib.h>

    int main()
    {
    double x;
Results 1 to 3 of 3