I just wanted some information about this.
float n = 2.99944323200023f
What does the f at the end of the literal do? What is i
f
If f is not precised at the end, value is considered to be a double. And a double leads to more bytes in memory than float.
double
float