Post navigation ← Previous Next → 絶対値を求める(Abs関数) Posted on 2013年6月13日 by dorudoru System.Math.Abs()関数をコールします。 引数の型はintをはじめ、byte、short、long、decimal、、、などなど Math.Abs(-10); //-10の絶対値を取得。答えは10
コメントを残す