>>468
ほらよ。とりあえず整数として。割り算は端折った。
実数だったらIntegerをDoubleにしれ。

http://sourcepost.sytes.net/sourcepost/sourceview.aspx?source_id=28154