The noshowpoint() method of stream manipulators in C++ is used to clear the showbase format flag for the specified str stream. This flag displays the floating values in decimal only when they have a decimal values.
ios_base& noshowpoint (ios_base& str)
Parameters: This method accepts str as a parameter which is the stream for which the format flag is to be cleared.
Return Value: This method returns the stream str with noshowpoint format flag set.
noshowpoint flag: 10 20
noshowpoint flag: 30.122
Rated as one of the most sought after skills in the industry, own the basics of coding with our C++ STL Course and master the very concepts by intense problem-solving.