ok, thanks you guys for all the help. i really do appreciate it.

hey, i made this random number generator and the highest number it can generate is 700 octillion. but every time it creates a number, its in scientific notation. Is there any scientific notation to integer converter in C++?

include

include

using namespace std;
int main (char argc)
{
srand((unsigned)time(0));
double n27 = rand();
double lowest=1, highest=7e+27;
double range=(highest-lowest)+1;
n27 = lowest+int(range*rand()/(RAND_MAX + 1.0));
cout << n27 << endl;
system("pause");
}