网站首页 站内搜索

搜索结果

查询Tags标签: closer,共有 1条记录
  • Python当中int 和 floor/ceil 的区别

    floor() rounds down. int() truncates. The difference is clear when you use negative numbers: >>> import math >>> math.floor(-3.5) -4 >>> int(-3.5) -3Rounding down on negative numbers means that they move away from 0, truncat…

    2022/3/27 9:52:37 人评论 次浏览
扫一扫关注最新编程教程