<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>note103</author_name>
  <author_url>https://blog.hatena.ne.jp/note103/</author_url>
  <blog_title>the code to rock</blog_title>
  <blog_url>https://note103.hateblo.jp/</blog_url>
  <categories>
    <anon>tips</anon>
    <anon>shellscript</anon>
  </categories>
  <description>ちょっとした数字の計算をしたい、けど電卓出すのは面倒……ということがよくある。ぼくはちょっと前まで簿記の勉強をやっていたので、マイ電卓がすぐ手の届くところにあるのだけど（一番体に近い引き出しの中）、そこから出すのすら面倒、と感じてしまうことが多々ある。その一方で、両手はつねにパソコンのキーボードに置かれているので、ターミナルにパパッと打ち込んで計算が済むならそれがいい。ということで、今まではそういうとき、ターミナルでirbとかPythonとか、最近だとPerl6を立ち上げたりしていたのだけど、たまたま何かの作業中に間違えて bc と打ったらコマンドが起動して、そのままちょっと動かしてみたら電卓…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnote103.hateblo.jp%2Fentry%2F2016%2F10%2F19%2F085828&quot; title=&quot;bcコマンドで電卓計算（小数の） - the code to rock&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>https://cdn-ak.f.st-hatena.com/images/fotolife/n/note103/20161019/20161019024802.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-10-19 08:58:28</published>
  <title>bcコマンドで電卓計算（小数の）</title>
  <type>rich</type>
  <url>https://note103.hateblo.jp/entry/2016/10/19/085828</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
