繁体   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