{"published":"2007-05-11 00:00:00","url":"https://blog.enjoyxstudy.com/entry/20070511/p1","blog_url":"https://blog.enjoyxstudy.com/","type":"rich","description":"1.255\u306e\u5c0f\u6570\u70b9\u7b2c3\u4f4d\u3092\u56db\u6368\u4e94\u5165\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u30011.26\u3068\u3044\u3046\u5024\u3092\u671f\u5f85\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u3001 >>> (1.255).toFixed(2) \"1.25\" >>> Math.round(1.255 * 100) / 100 1.25 toFixed\u3067\u3082\u3001\u5c0f\u6570\u70b9\u306e\u4f4d\u7f6e\u5909\u3048\u3066Math.round()\u4f7f\u3063\u3066\u3082\u3001\u4e88\u60f3\u3057\u305f\u7d50\u679c(1.26)\u306b\u306a\u3089\u306a\u3044(\u6d6e\u52d5\u5c0f\u6570\u70b9\u306e\u4e38\u3081\u8aa4\u5dee\u304c\u51fa\u3066\u3057\u307e\u3063\u3066\u3044\u308b)\u306e\u3067\u3001\u6d6e\u52d5\u5c0f\u6570\u70b9\u3067\u306e\u6f14\u7b97\u304c\u884c\u308f\u308c\u306a\u3044\u3088\u3046\u306b\u6587\u5b57\u5217\uff06\u6574\u6570\u3067\u6271\u3063\u3066\u300c\u5c0f\u6570\u70b9\u4ee5\u4e0b\u7b2cx\u4f4d\u3092\u56db\u6368\u4e94\u5165\u300d\u3063\u3066\u306e\u3092\u5b9f\u73fe\u3059\u308b\u65b9\u6cd5\u3092\u8003\u3048\u3066\u307f\u307e\u3057\u305f\u3002 var digitRound = function(num, digit) { var is\u2026","width":"100%","author_name":"onozaty","author_url":"https://blog.hatena.ne.jp/onozaty/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.enjoyxstudy.com%2Fentry%2F20070511%2Fp1\" title=\"\u5c0f\u6570\u70b9\u4ee5\u4e0b\u7b2cx\u4f4d\u3092\u56db\u6368\u4e94\u5165(2007/05/20\u4fee\u6b63) - Enjoy*Study\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","height":"190","title":"\u5c0f\u6570\u70b9\u4ee5\u4e0b\u7b2cx\u4f4d\u3092\u56db\u6368\u4e94\u5165(2007/05/20\u4fee\u6b63)","version":"1.0","categories":["[programming]"],"provider_url":"https://hatena.blog","image_url":null,"blog_title":"Enjoy*Study"}