{"description":"Java\u3067double\u578b\u304b\u3089BigDecimal\u578b\u3092\u4f5c\u308b\u3068\u304d\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u3059\u308b\u3068\u3088\u3055\u3052\u3067\u3059\u3002 double d = 0.1D; DecimalFormat df = new DecimalFormat(\"0.#####\"); BigDecimal bd = new BigDecimal(df.format(d)); \uff08\u6700\u5927\u6841\u6570\u304c\u591a\u3044\u3068\u304d\u306f#\u306e\u6570\u3092\u5897\u3084\u305b\u3070OK\u3002\u4f59\u3063\u305f#\u306f\u8868\u793a\u3055\u308c\u306a\u3044\u306e\u3067\u3002\uff09\u5358\u7d14\u306b double d = 0.1D; BigDecimal bd = new BigDecimal(d); \u3068\u3059\u308b\u3068\u3001Java\u306eAPI\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u3082\u3042\u308b\u901a\u308a\u306e\u8aa4\u5dee\u304c\u751f\u3058\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001 0.100000\u2026","width":"100%","height":"190","blog_title":"Float on the flow","url":"https://shozzy.hatenablog.com/entry/20060324/p1","provider_name":"Hatena Blog","version":"1.0","categories":["\u6280\u8853","Java"],"type":"rich","image_url":null,"author_url":"https://blog.hatena.ne.jp/shozzy/","title":"double\u578b\u304b\u3089BigDecimal\u3092\u751f\u6210\u3059\u308b\u3068\u304d\u306e\u6ce8\u610f\u70b9","published":"2006-03-24 00:00:00","blog_url":"https://shozzy.hatenablog.com/","author_name":"shozzy","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshozzy.hatenablog.com%2Fentry%2F20060324%2Fp1\" title=\"double\u578b\u304b\u3089BigDecimal\u3092\u751f\u6210\u3059\u308b\u3068\u304d\u306e\u6ce8\u610f\u70b9 - Float on the flow\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog"}