<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mtiit</author_name>
  <author_url>https://blog.hatena.ne.jp/mtiit/</author_url>
  <blog_title>(O+P)ut</blog_title>
  <blog_url>https://www.mtioutput.com/</blog_url>
  <categories>
    <anon>UNIX</anon>
    <anon>UNIX-Linux</anon>
  </categories>
  <description>やりたいこと 以下のような小数点を含んだ数値の四則演算を行いたい。 $ echo $((3*6*5.1)) -bash: 3*6*5.1: syntax error: invalid arithmetic operator (error token is &quot;.1&quot;) 環境情報 Debian GNU/Linux 9 やり方 bcコマンドをインストールすれば # apt-get install bc ... Selecting previously unselected package bc. (Reading database ... 105706 files and directories c…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mtioutput.com%2Fentry%2Flinux-bc-handson&quot; title=&quot;【Linux】bcコマンドで小数点を含んだ掛け算割り算を行う - (O+P)ut&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/m/mtiit/20190708/20190708105146.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-11-25 17:35:30</published>
  <title>【Linux】bcコマンドで小数点を含んだ掛け算割り算を行う</title>
  <type>rich</type>
  <url>https://www.mtioutput.com/entry/linux-bc-handson</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
