<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>houyhnhm</author_name>
  <author_url>https://blog.hatena.ne.jp/houyhnhm/</author_url>
  <blog_title>The Nameless City</blog_title>
  <blog_url>https://namelesscity.hatenadiary.com/</blog_url>
  <categories>
    <anon>SAS Tips</anon>
  </categories>
  <description>他人のマクロのバグ取りはつらい。 roundの丸め用の数値と、put等で利用するformatの桁数には違いがある。 というのは、結構面倒臭いのだが、 format w.d round 10**(-d) という関係なのであるよと。ただし、d&gt;=0の整数。 data _NULL_ ; a=123.4567891234 ; do d=-2 to 8 ; format=&quot;12.&quot;||strip(put(d,12.0)) ; b=strip(putn(a,format)) ; rnum=10**(-d) ; c=round(a,rnum) ; put &quot;*** format/round ***&quot; &quot;(d…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnamelesscity.hatenadiary.com%2Fentry%2F2021%2F04%2F05%2F194043&quot; title=&quot;小数点第何桁というのをround丸め用数値とformatの桁数で考える場合 - The Nameless City&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>2021-04-05 19:40:43</published>
  <title>小数点第何桁というのをround丸め用数値とformatの桁数で考える場合</title>
  <type>rich</type>
  <url>https://namelesscity.hatenadiary.com/entry/2021/04/05/194043</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
