How can I customize a function in which I print doubles? I would like this function to get number of digits after the decimal point (comma in my locale) as an agrument and then print, for example, pi with the number of digits after comma specified by user.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…