JavaScript / TypeScript 小数点の四捨五入 / 切り上げ / 切り捨て / 削除 2021年5月10日 小数点の操作はMathオブジェクトのround, ceil, floor, truncメソッドを使用します。