This functionality is only available in the C++ toolkits. For other languages, we recommend using language-specific functionality instead.
std::string OETrimToSigFigs(const std::string &numstr)
Strips trailing zeros from a string representing a decimal number. Nothing is stripped if no decimal point is given. A single zero character is left if only zeros follow the decimal point. The function is smart enough to properly deal with scientific notation formats. The following table is an example of inputs and outputs to the function.