<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bayan</author_name>
  <author_url>https://blog.hatena.ne.jp/bayan/</author_url>
  <blog_title>bayanの&lt;del&gt;電波&lt;/del&gt;日記</blog_title>
  <blog_url>https://bayan.hatenadiary.com/</blog_url>
  <categories>
  </categories>
  <description>整数型の列に小数を保存しようとすると四捨五入される。 test=&gt; CREATE TABLE hoge (id integer, value integer); CREATE TABLE test=&gt; INSERT INTO hoge VALUES(1, 0.4); INSERT 0 1 test=&gt; INSERT INTO hoge VALUES(2, 0.5); INSERT 0 1 test=&gt; SELECT * FROM hoge ORDER BY id; id | value ----+------- 1 | 0 2 | 1 (2 rows)0.4 → 0 0.5 → 1 四捨五入さ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbayan.hatenadiary.com%2Fentry%2F20140531%2F1401492900&quot; title=&quot;PostgreSQL 8.1 整数型の列に小数を保存すると四捨五入される - bayanの&amp;lt;del&amp;gt;電波&amp;lt;/del&amp;gt;日記&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-05-31 08:35:00</published>
  <title>PostgreSQL 8.1 整数型の列に小数を保存すると四捨五入される</title>
  <type>rich</type>
  <url>https://bayan.hatenadiary.com/entry/20140531/1401492900</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
