批踢踢實業坊
›
看板
Python
關於我們
聯絡資訊
返回看板
float(format(0.86+3.2, '.2f')) 或者是 float(f'{0.86 + 3.2:.2f}')
※ 編輯: seanhouse (39.9.30.35 臺灣), 11/02/2020 16:26:46
噓
annheilong
: 為什麼要刪光光 還有你可以用推文的...
11/02 16:28
→
seanhouse
: 第一次用~~
11/02 16:30
→
seanhouse
: 終於搞懂怎麼回在下面 -> Shift+x
11/02 16:32