* 数学関数 [#x82421f9]

** 四捨五入 [#na581165]
 SELECT ROUND(1.55);    # => 2
 SELECT ROUND(1.55, 1); # => 1.6
 SELECT ROUND(1.55, 2); # => 1.55
 SELECT ROUND(25,  -1); # => 30

** マニュアル [#ja47dde1]
http://dev.mysql.com/doc/refman/5.1/ja/mathematical-functions.html
http://dev.mysql.com/doc/refman/5.6/en/mathematical-functions.html

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS