Read Article

広告

ROUND関数について知ろう

広告

この章ではROUND関数について説明します。
ROUND関数は「四捨五入」を行う関数です。
[基本構文]
=ROUND(数値,桁数)
以下の数字「345,123.67」を小数第2位に四捨五入して、B1に入れます。9 ではB1をクリックしてください。
次は「数式」タブの中の「数学/三角」をクリックしてください。9 クリックしますと次のメニューが現れますので、その中の「ROUND」をクリックします。9 クリックしますと次のダイアログボックスが現れますので、「数値」に「A1」,「桁数」に「1」を入力してください。9 「桁数」にはどの桁で四捨五入するのかを指定します。
例えば小数第2位で四捨五入したい場合は「桁数」には「1」を指定します。
ここで注意してほしいことは小数第2位の場合「2」ではないということです。
つまり、四捨五入して数値が変わるのは小数第1位なので「1」を指定します。
次の図を見てください。9 [小数点以下]
小数第1位の「桁数」は「1」、小数第2位の「桁数」は「2」を意味します。
[整数部分]
1の位の「桁数」は「0」、10の位の「桁数」は「-1」、100の位の「桁数」は「-2」…となります。
小数点第2位で四捨五入した結果は次のようになります。9 では先ほどと同じA1の数字で、1000の位を四捨五入してみましょう。
この例では「5」の部分です。
1000の位を四捨五入したいので、「桁数」は実際に処理される箇所である「-4」になります。
結果は次のようになります。9

URL :
TRACKBACK URL :

Warning: Undefined variable $aria_req in /home/a11926240/wordexcelpowerpoint1.com/public_html/wp-content/themes/dp-elplano/comments.php on line 139

Warning: Undefined variable $aria_req in /home/a11926240/wordexcelpowerpoint1.com/public_html/wp-content/themes/dp-elplano/comments.php on line 141

Warning: Undefined variable $post_id in /home/a11926240/wordexcelpowerpoint1.com/public_html/wp-content/themes/dp-elplano/comments.php on line 149

Warning: Undefined variable $post_id in /home/a11926240/wordexcelpowerpoint1.com/public_html/wp-content/themes/dp-elplano/comments.php on line 150

Warning: Undefined variable $post_id in /home/a11926240/wordexcelpowerpoint1.com/public_html/wp-content/themes/dp-elplano/comments.php on line 161

LEAVE A REPLY

*
*
* (公開されません)

Return Top
Warning: Undefined array key "fb_api_lang" in /home/a11926240/wordexcelpowerpoint1.com/public_html/wp-content/themes/dp-elplano/single.php on line 284