簡體   English   中英

如何編程打印下一個可被 25 整除的 2675.9439 並在 python 中打印出來

[英]How can I program to print the next number of 2675.9439 which is divisible by 25 and print it out in python

手動計算為 2675.9439

下一個數字將是 2700,可以被 25 整除

你可以這樣做:

math.ceil(2675.9439/25)*25

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM