摘要:
How do you truncate a number to a certain number of decimal places? for example, if i have 1.149 and i want to truncate that to 2 decimal places, the number should be 1.14. math.truncate() changes the... 阅读全文
posted @ 2009-11-05 15:39 zhaobin 阅读(326) 评论(0) 推荐(0) 编辑