2010-11-03 46 views

回答

6

你可以控制你的printf输出格式,就像在C,通过与这些format specifiers下面这个syntax

> printf('%.20f\n', pi) 
3.14159265358979311600 
相关问题