Formating floating point/double for display

BlitzMax Forums/BlitzMax Programming/Formating floating point/double for display

There are 2 ways:

1. Use Double
2. Use a new mingw version (was mentioned to happen with the next version of BM anyway)

The default mingw sadly is that old that it has some problems with float (as you know from 2^intVariable which is caused by the outdated mingw as well)

A rounding function won't be able to fix a pure core limitation I fear.

And yes feel free to include it in your framework if you find use for it. Credit is ok :)

EDIT: your "messy" code at least has the pro right now that it is not cut from working due to float inaccuracies in the math module :)