<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>perlcodesample</author_name>
  <author_url>https://blog.hatena.ne.jp/perlcodesample/</author_url>
  <blog_title>Perl入門ゼミ</blog_title>
  <blog_url>https://perlcodesample.hatenadiary.jp/</blog_url>
  <categories>
  </categories>
  <description>Perl › 関数 › here 書式(フォーマット)を設定して文字列を出力するにはprintf関数を使用します。 printf &quot;Number %03d %.3f\n&quot;, 3, 3.14567; 上記の出力結果は次のようになります。「3」という整数は3桁になるように左に0が埋められています。「3.14567」という小数点は「3.146」の小数点3桁に丸められています。 Number 003 3.146 「%03d」や「%.3f」は書式指定子と呼ばれます。書式指定子の詳細についてはsprintf関数の解説をご覧ください。 sprintf関数 - 文字列の書式指定 ファイルへの出力 fprint…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperlcodesample.hatenadiary.jp%2Fentry%2F20170326%2F1491484139&quot; title=&quot;printf関数 - 書式付き文字列出力 - Perl入門ゼミ&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>2017-03-26 22:08:59</published>
  <title>printf関数 - 書式付き文字列出力</title>
  <type>rich</type>
  <url>https://perlcodesample.hatenadiary.jp/entry/20170326/1491484139</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
