Increase maximum float limit in C++

HI there, i posted a question about this a few days ago.

I need to increase the maximum float value in C++, currently the limit is 18 quintillion or something along those lines, but im making an idle game so it needs to go beyond that. I looked up c++ code but i have no idea what i would use to increase the maximum number a float can go up to, ive never used c++ before so i have 0 experience

The game is to be submitted in 2 months and ive been working on it flat out since September, i had gotten all the blueprints working and was finally set on just finishing off the interface but now ive bumped into the biggest wall yet.

So my question is, how would i increase the maximum float to go beyond its standard “18,446,744,073,709,551,615”? What commands would i use?

Just use “double” instead of “float”. It is a different data type than float, you can’t change the size of a float. A double is twice the size of a float an will be able to represente basically any number.

Edit to clarify: It can represent numbers muich higher than 2x, it just takes twice as much space in memory.

The float limit is not 18 quintillion, it is 3.4028235x10^38.