<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ledsun</author_name>
  <author_url>https://blog.hatena.ne.jp/ledsun/</author_url>
  <blog_title>@ledsun blog</blog_title>
  <blog_url>https://ledsun.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>.NET FrameworkではRound関数は四捨五入ではなく、JIS丸め*1という方式をとっています。次のように四捨五入とは違う結果が返ってきます。 using System; using System.Data; using NUnit.Framework; using NUnit.Framework.SyntaxHelpers; [TestFixture] public class RoundSample { [Test] public void 四捨五入() { Assert.That(Math.Round(0.5), Is.EqualTo(0.0)); //JIS丸め Assert…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fledsun.hatenablog.com%2Fentry%2F20090424%2F1240559507&quot; title=&quot;Round関数の四捨五入とJIS丸め - @ledsun blog&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>2009-04-24 16:51:47</published>
  <title>Round関数の四捨五入とJIS丸め</title>
  <type>rich</type>
  <url>https://ledsun.hatenablog.com/entry/20090424/1240559507</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
