{"version":"1.0","height":"190","author_url":"https://blog.hatena.ne.jp/shigemk2/","width":"100%","provider_name":"Hatena Blog","type":"rich","description":"presto round round(x,d) round(x) same as input\u3063\u3066\u66f8\u3044\u3066\u3042\u308b\u304b\u3089\u3001x\u306e\u578bdouble\u3060\u3068\u623b\u308a\u5024\u3082double\u306b\u306a\u308b\u3057\u3001integer\u306a\u3089integer\u304c\u5e30\u3063\u3066\u6765\u308b presto> select round(22); _col0 ------- 22 (1 row) presto> select round(22.5); _col0 ------- 23.0 (1 row) https://prestodb.io/docs/current/functions/math.html","published":"2017-10-30 19:39:23","provider_url":"https://hatena.blog","author_name":"shigemk2","title":"presto round","image_url":null,"categories":["Presto"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F2017%2F10%2F30%2Fpresto_round\" title=\"presto round - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://www.shigemk2.com/entry/2017/10/30/presto_round","blog_url":"https://www.shigemk2.com/","blog_title":"by shigemk2"}