showpoint
即使零是小数部分,小数点右边显示浮点数和数字的整数部分。
ios_base& showpoint(
ios_base& _Str
);
参数
- _Str
引用类型到 ios_base对象,或者从 ios_base继承的类型。
返回值
为_Str 派生的对象的引用。
备注
默认,noshowpoint 实际上是。
操控程序有效调用 _Str.setf(ios_base::showpoint),然后返回 _Str。
示例
用于示例 showpoint参见 noshowpoint。
要求
页眉: <ios>
命名空间: std