Platforms to show: All Mac Windows Linux Cross-Platform
FAQ.How to format double with n digits?
Answer:
You can use the
FormatMBS function for this.
see FormatMBS for details.
In general %f is normal style, %e is scientific and %g is whichever gives best result for given space.