Function formattingDoubleToString(double)

Function Documentation

std::string formattingDoubleToString(double number)

Converts a double value to a string and formats it by removing trailing zeros and decimal point if necessary.

Parameters:

number – The double number to be converted.

Returns:

A formatted string representing the number.