from decimal import Decimal >>> a = "1.345" >>> #保留幾位小數由像第二個括號中的幾位小數決定,即保留兩位小數,精確到0.01 >>> #如果想要 ...
確定! 回上一頁