アウトプットができる技術者に

it's a time to take a new step !

小数点第2位で切り捨て

printf("%.2f",1.255);
sprintf("%.2f",1.255);