2018-06-05 pythonで小数点切り上げはmath.ceil python n = 123.987654 math.ceil(n) ネタ元 http://ll.just4fun.biz/?Python/%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB/%E5%B0%8F%E6%95%B0%E7%82%B9%E4%BB%A5%E4%B8%8B%E3%81%AE%E5%80%A4%E3%81%AE%E6%93%8D%E4%BD%9C%E3%83%BB%E5%9B%9B%E6%8D%A8%E4%BA%94%E5%85%A5%E3%82%84%E5%88%87%E4%B8%8A%E3%81%92%E3%80%81%E5%88%87%E6%8D%A8%E3%81%A6