<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gsf_zero1</author_name>
  <author_url>https://blog.hatena.ne.jp/gsf_zero1/</author_url>
  <blog_title>いろいろ備忘録日記</blog_title>
  <blog_url>https://devlights.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>忘れない内にメモメモ。 数値をカンマ付けにフォーマットするには、以下の書式を利用します。 {0:N0} コロンの後にNを付ける事で、カンマ付けされます。 Nの後ろの数値は、小数点の桁数です。0にしているので上記の場合は小数点は表示されません。 以下、サンプルです。 #region NumberFormatSamples-02 public class NumberFormatSamples02 : IExecutable { public void Execute() { int i = 123456; Console.WriteLine(&quot;{0:N0}&quot;, i); } } #endregio…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F20090618%2Fp1&quot; title=&quot; 数値のカンマ付け (書式設定, string.Format) - いろいろ備忘録日記&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-06-18 00:00:01</published>
  <title> 数値のカンマ付け (書式設定, string.Format)</title>
  <type>rich</type>
  <url>https://devlights.hatenablog.com/entry/20090618/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
