How do I display a floating-point number in engineering notation, using C++ Builder String class? (UnicodeString)
Surely there must exist a pre-made function for this? I cannot find one. The only thing I have come across is String::FloatToStrF(), but it doesn’t seem to support engineering notation.
Here is code to print in engineering notation, lifted as-is from this site. I take no credit for any of it.