<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>manymanytips</author_name>
  <author_url>https://blog.hatena.ne.jp/manymanytips/</author_url>
  <blog_title>ぷろぐらまさんの忘れないようにメモ書き</blog_title>
  <blog_url>https://manymanytips.hatenadiary.org/</blog_url>
  <categories>
    <anon>C＃</anon>
  </categories>
  <description>Math.Ceilingメソッドは、Math.Roundメソッドのように小数点何桁目で切り上げるかということはできないが、少し処理を足すことでできるようになる。【小数点第2位で「正の数値」の切り上げ】 decimal d_value = 1.37m; d_value = d_value * 10; //13.7m 切り上げしたい部分まで小数点をずらす d_value = Math.Ceiling(d_value); //14.0m d_value = d_value / 10; //1.4m 小数点を元の位置に戻す 元の値を10倍、100倍することによって、整数値にしてからCeiling。 そ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmanymanytips.hatenadiary.org%2Fentry%2F20110706%2Fp1&quot; title=&quot;小数点第2位以下で切り上げ - ぷろぐらまさんの忘れないようにメモ書き&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-07-06 00:00:00</published>
  <title>小数点第2位以下で切り上げ</title>
  <type>rich</type>
  <url>https://manymanytips.hatenadiary.org/entry/20110706/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
