2019-04-16から1日間の記事一覧
ずばりこうする javascriptでのやり方がそのまま使えます。 Math.round(x: number) // 四捨五入 Math.ceil(x: number); // 切り上げ Math.floor(x: number); // 切り捨てを使いましょう。特にモジュールをimportする必要はありません。 蛇足 typescript 小数…
ずばりこうする javascriptでのやり方がそのまま使えます。 Math.round(x: number) // 四捨五入 Math.ceil(x: number); // 切り上げ Math.floor(x: number); // 切り捨てを使いましょう。特にモジュールをimportする必要はありません。 蛇足 typescript 小数…