<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>likk</author_name>
  <author_url>https://blog.hatena.ne.jp/likk/</author_url>
  <blog_title>NeverBlog::Likk::Unexistable;</blog_title>
  <blog_url>https://likk.hatenablog.com/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>Perl 数値 三桁 とかでググると色々出てくるけど微妙に要件満たしてなかったりする。正負の記号入れると動かなかったりとか、 小数点入れると動かなかったりとか、 小数点以下もご丁寧に3桁区切りになったりとか。要件を言うと -7,654,321.0000001 と整形されるデータが欲しい。何に使うかは置いといて、Excel先生はそういう風に整形してくれるので挙動を合わせておきたい。幾つか試した結果、 Number::Format::format_number(); が上記要件を満たしてくれた。 そのまま使うと小数点2桁以下は round されるので perldoc Number::Format …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flikk.hatenablog.com%2Fentry%2F2014%2F11%2F07%2F200252&quot; title=&quot;数字を3桁ごとにカンマで区切るやつ - NeverBlog::Likk::Unexistable;&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>2014-11-07 20:02:52</published>
  <title>数字を3桁ごとにカンマで区切るやつ</title>
  <type>rich</type>
  <url>https://likk.hatenablog.com/entry/2014/11/07/200252</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
