AS3の四捨五入
var total:int = 123;
var count:int = 7;
Math.round((total/count)*10)/10小数点第1位までの
結果は、17.6ちなみに、
・Math.round():四捨五入
・Math.floor():切り捨て
・Math.pow():乗計算
var total:int = 123;
var count:int = 7;
Math.round((total/count)*10)/10小数点第1位までの
結果は、17.6ちなみに、
・Math.round():四捨五入
・Math.floor():切り捨て
・Math.pow():乗計算