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?
Type: Posts; User: tetriswhiz
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?
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...
here's my code:
#include <stdio.h>
#include <stdlib.h>
int main()
{
double x;