stringValue

stringValue, if the flag is true, returns a string in a double format, for example, 1.0; otherwise returns an integer format, for example, 1.

stringValue(double d, boolean flag)