{"id":21804,"date":"2017-04-24T13:25:17","date_gmt":"2017-04-24T04:25:17","guid":{"rendered":"http:\/\/www.sejuku.net\/blog\/?p=21804"},"modified":"2024-05-06T11:41:48","modified_gmt":"2024-05-06T02:41:48","slug":"%e3%80%90java%e5%85%a5%e9%96%80%e3%80%91bigdecimal%e3%81%ae%e8%a8%88%e7%ae%97%e6%96%b9%e6%b3%95%e3%81%be%e3%81%a8%e3%82%81","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/21804","title":{"rendered":"\u3010Java\u5165\u9580\u3011BigDecimal\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u8aa4\u5dee\u306a\u304f\u8a08\u7b97\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u306e\u6843\u592a\u90ce\u3067\u3059\u3002<\/p>\n<p>Java\u306b\u306f<span style=\"color: #0000ff;\"><strong>\u8aa4\u5dee\u304c\u51fa\u306a\u3044\u3088\u3046\u306b\u56db\u5247\u6f14\u7b97<\/strong><\/span>\u3059\u308b\u305f\u3081\u306e\u30af\u30e9\u30b9\u3068\u3057\u3066<span style=\"color: #339966;\"><strong>BigDecimal<\/strong><\/span>\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u30fbBigDecimal\u3068\u306f<\/strong><\/span><br \/>\n<span style=\"color: #ff0000;\"><strong>\u30fbBigDecimal\u306e\u4f7f\u3044\u65b9<\/strong><\/span><\/p>\n<p>\u3068\u3044\u3046\u57fa\u672c\u7684\u306a\u5185\u5bb9\u304b\u3089\u3001<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u30fbBigDecimal\u3067\u56db\u6368\u4e94\u5165\u3059\u308b\u65b9\u6cd5<\/strong><\/span><br \/>\n<span style=\"color: #ff0000;\"><strong>\u30fbBigDecimal\u306b\u3066\u6d88\u8cbb\u7a0e\u306e\u8a08\u7b97\u3092\u3059\u308b\u65b9\u6cd5<\/strong><\/span><\/p>\n<p>\u306a\u3069\u306e\u5fdc\u7528\u7684\u306a\u4f7f\u3044\u65b9\u306b\u95a2\u3057\u3066\u3082\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>BigDecimal\u306b\u3064\u3044\u3066\u6b63\u3057\u304f\u7406\u89e3\u3057\u3001\u5fc5\u8981\u306a\u5834\u9762\u3067\u4f7f\u3044\u3053\u306a\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u307e\u3059\uff01<\/p>\n<p>\u306a\u304a\u3001Java\u306e\u8a18\u4e8b\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/www.sejuku.net\/blog\/148098\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089<\/a>\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>BigDecimal\u3068\u306f<\/h2>\n<p><span style=\"color: #339966;\"><strong>BigDecimal<\/strong><\/span>\u3068\u306fJava\u306e\u30af\u30e9\u30b9\u306e\u3072\u3068\u3064\u3067\u3001<span style=\"color: #0000ff;\"><strong>\u5c0f\u6570\u70b9\u4ee5\u4e0b\u306e\u6570\u5024\u3092\u542b\u3081\u305f\u5b9f\u6570<\/strong><\/span>\u3092\u53d6\u308a\u6271\u3044\u307e\u3059\u3002<\/p>\n<p>\u30af\u30e9\u30b9\u306e\u5185\u90e8\u3067\u306f\u5b9f\u6570\u3092\u201d\u6574\u6570\u201d\u3068\u201d\u5c0f\u6570\u70b9\u306e\u4f4d\u7f6e\u201d\u3068\u3044\u30462\u3064\u306e\u60c5\u5831\u306b\u5206\u3051\u3066\u7ba1\u7406\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001BigDecimal\u540c\u58eb\u306e\u5024\u306e\u6bd4\u8f03\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/21589\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/04\/image-110-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Java\u5165\u9580\u3011BigDecimal\u306e\u5927\u5c0f\u3092compareTo\u3067\u6bd4\u8f03\u3059\u308b\u65b9\u6cd5<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>BigDicimal\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u8a08\u7b97\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>\u9280\u884c\u306e\u9810\u91d1\u91d1\u5229\u3084\u30e2\u30ce\u3092\u8cb7\u3046\u3068\u304d\u306b\u767a\u751f\u3059\u308b\u6d88\u8cbb\u7a0e\u306a\u3069\u3001\u5c0f\u6570\u70b9\u4ee5\u4e0b\u306e\u6570\u5b57\u3092\u3042\u3064\u304b\u3046IT\u30b7\u30b9\u30c6\u30e0\u306f\u591a\u304f\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3089\u306e\u30b7\u30b9\u30c6\u30e0\u3067\u306f<span style=\"color: #ff0000;\"><strong>\uff11\u5186\u306e\u8aa4\u5dee\u3082\u8a31\u3055\u308c\u306a\u3044\u6b63\u78ba\u306a\u8a08\u7b97<\/strong><\/span>\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u3088\u3046\u306a\u5834\u5408\u306b\u4f7f\u7528\u3059\u308b\u306e\u304c<span style=\"color: #339966;\"><strong>BigDecimal<\/strong><\/span>\u3067\u3059\u3002<\/p>\n<p>Java\u3067\u306f\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u6271\u3048\u308bdouble\/float\u3068\u3044\u3063\u305f\u4ed6\u306e\u30af\u30e9\u30b9\u3082\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001double\/float\u306f<span style=\"color: #ff0000;\"><strong>\u8aa4\u5dee\u304c\u751f\u3058\u308b<\/strong><\/span>\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u6b63\u78ba\u306a\u8a08\u7b97<\/strong><\/span>\u304c\u5fc5\u8981\u306a\u5834\u9762\u3067\u306f<span style=\"color: #339966;\"><strong>BigDecimal<\/strong><\/span>\u3092\u4f7f\u7528\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001BigDecimal\u3067\u306f\u56db\u5247\u6f14\u7b97\u3092\u884c\u3046\u5834\u5408\u3001\u201d+\u201d\u3084\u201d-\u201c\u3068\u3044\u3063\u305f<span style=\"color: #339966;\"><strong>\u7b97\u8853\u6f14\u7b97\u5b50<\/strong><\/span>\u3067\u306f\u306a\u304f<span style=\"color: #0000ff;\"><strong>\u5c02\u7528\u306e\u30e1\u30bd\u30c3\u30c9\u304c\u7528\u610f<\/strong><\/span>\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n<table id=\"tablepress-92\" class=\"tablepress tablepress-id-92\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">\u30e1\u30bd\u30c3\u30c9<\/th><th class=\"column-2\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">add()<\/td><td class=\"column-2\">\u8db3\u3057\u7b97<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">subtract()<\/td><td class=\"column-2\">\u5f15\u304d\u7b97<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">multiply()<\/td><td class=\"column-2\">\u639b\u3051\u7b97<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">divide()<\/td><td class=\"column-2\">\u5272\u308a\u7b97<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-92 from cache -->\n<p>BigDecimal\u30af\u30e9\u30b9\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">import java.math.BigDecimal;<\/pre>\n<p>\u4f8b\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3057\u3066\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">String val = \u201c123.456789\u201d;\r\nBigDecimal bd = new BigDecimal(val);<\/pre>\n<h3>\u8db3\u3057\u7b97<\/h3>\n<p><span style=\"color: #0000ff;\"><strong>\u8db3\u3057\u7b97<\/strong><\/span>\u3092\u884c\u3046\u5834\u5408\u306f <span style=\"color: #339966;\"><strong>add<\/strong><\/span>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>add\u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u306b\u306f<span style=\"color: #0000ff;\"><strong>\u8db3\u3057\u5408\u308f\u305b\u305f\u3044\u5024<\/strong><\/span>\u3092\u5165\u308c\u307e\u3059\u3002<\/p>\n<p>\u623b\u308a\u5024\u306f\u8db3\u3057\u5408\u308f\u305b\u305f\u7d50\u679c\u304cBigDecimal\u578b\u3067\u8fd4\u308a\u307e\u3059\u3002<\/p>\n<p>BigDecimal\u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306b<span style=\"color: #339966;\"><strong>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578b<\/strong><\/span>\u3068<span style=\"color: #339966;\"><strong>\u6587\u5b57\u5217\u578b<\/strong><\/span>\u3069\u3061\u3089\u3082\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u5f15\u6570\u306b<span style=\"color: #ff0000;\"><strong>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578b\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u3001\u8aa4\u5dee\u304c\u767a\u751f<\/strong><\/span>\u3059\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u6b63\u78ba\u306a\u5024\u3092\u6271\u3046\u305f\u3081\u306b\u306f\u3001BigDecimal\u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306f<span style=\"color: #0000ff;\"><strong>\u6587\u5b57\u5217\u578b\u3067\u6307\u5b9a<\/strong><\/span>\u3057\u307e\u3057\u3087\u3046\uff01<\/p>\n<pre class=\"lang:java decode:true \">import java.math.BigDecimal;\r\n\r\npublic class Main {\r\n \r\n    public static void main(String[] args) {\r\n        \/\/ double\u578b\u3067\u7b97\u8853\u6f14\u7b97\u5b50\u3092\u4f7f\u3046\u5834\u5408\r\n        double d1 = 0.8;\r\n        double d2 = 0.9;\r\n        System.out.println(d1 + \" + \" + d2 + \" = \" + (d1 + d2));\r\n        \r\n        \/\/ BigDecimal\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306bdouble\u578b\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\r\n        BigDecimal bd1 = new BigDecimal(0.8);\r\n        BigDecimal bd2 = new BigDecimal(0.9);\r\n        BigDecimal result1 = bd2.add(bd1);\r\n        System.out.println(bd1 + \" + \" + bd2 + \" = \" + result1);\r\n        \r\n        \/\/ BigDecimal\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306bString\u578b\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\r\n        BigDecimal bd3 = new BigDecimal(\"0.8\");\r\n        BigDecimal bd4 = new BigDecimal(\"0.9\");\r\n        BigDecimal result2 = bd4.add(bd3);\r\n        System.out.println(bd3 + \" + \" + bd4 + \" = \" + result2);\r\n    }\r\n\r\n}<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">0.8 + 0.9 = 1.7000000000000002\r\n0.8000000000000000444089209850062616169452667236328125 + 0.90000000000000002220446049250313080847263336181640625 = 1.70000000000000006661338147750939242541790008544921875\r\n0.8 + 0.9 = 1.7<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001double\u578b\u3067\u7b97\u8853\u6f14\u7b97\u5b50\u3092\u4f7f\u3063\u305f\u5834\u5408\u3068\u3001BigDecimal\u578b\u3067\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306bdouble\u578b\u3068String\u578b\u3092\u4f7f\u3063\u305f\u5834\u5408\u3067\u8db3\u3057\u7b97\u306e\u7d50\u679c\u3092\u6bd4\u8f03\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>double\u578b\u3067\u7b97\u8853\u6f14\u7b97\u5b50\u3092\u4f7f\u3063\u305f\u5834\u5408\u3068BigDecimal\u578b\u3067\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306bdouble\u578b\u3092\u4f7f\u3063\u305f\u5834\u5408\u306f<span style=\"color: #ff0000;\"><strong>\u8aa4\u5dee\u304c\u751f\u3058\u3066\u6b63\u78ba\u306a\u5024\u304c\u7b97\u51fa\u3067\u304d\u3066\u3044\u307e\u305b\u3093<\/strong><\/span>\u3002<\/p>\n<p>\u3053\u308c\u306b\u5bfe\u3057\u3066\u3001BigDecimal\u578b\u3067\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306bString\u578b\u3092\u4f7f\u3063\u305f\u5834\u5408\u306f<span style=\"color: #0000ff;\"><strong>\u8aa4\u5dee\u306f\u751f\u3058\u305a\u3001\u6b63\u78ba\u306a\u5024\u3092\u7b97\u51fa<\/strong><\/span>\u3067\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u5f15\u304d\u7b97<\/h3>\n<p><span style=\"color: #0000ff;\"><strong>\u5f15\u304d\u7b97<\/strong><\/span>\u3092\u884c\u3046\u5834\u5408\u306f <span style=\"color: #339966;\"><strong>subtract<\/strong><\/span>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:java decode:true \">import java.math.BigDecimal;\r\n\r\npublic class Main {\r\n \r\n    public static void main(String[] args) {\r\n        \/\/ double\u578b\u3067\u7b97\u8853\u6f14\u7b97\u5b50\u3092\u4f7f\u3046\u5834\u5408\r\n        double d1 = 1.7;\r\n        double d2 = 0.9;\r\n        System.out.println(d1 + \" - \" + d2 + \" = \" + (d1 - d2));\r\n        \r\n        \/\/ BigDecimal\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306bdouble\u578b\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\r\n        BigDecimal bd1 = new BigDecimal(1.7);\r\n        BigDecimal bd2 = new BigDecimal(0.9);\r\n        BigDecimal result1 = bd1.subtract(bd2);\r\n        System.out.println(bd1 + \" - \" + bd2 + \" = \" + result1);\r\n        \r\n        \/\/ BigDecimal\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306bString\u578b\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\r\n        BigDecimal bd3 = new BigDecimal(\"1.7\");\r\n        BigDecimal bd4 = new BigDecimal(\"0.9\");\r\n        BigDecimal result2 = bd3.subtract(bd4);\r\n        System.out.println(bd3 + \" - \" + bd4 + \" = \" + result2);    \r\n    }\r\n\r\n}<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">1.7 - 0.9 = 0.7999999999999999\r\n1.6999999999999999555910790149937383830547332763671875 - 0.90000000000000002220446049250313080847263336181640625 = 0.79999999999999993338661852249060757458209991455078125\r\n1.7 - 0.9 = 0.8<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u3082\u3001double\u578b\u3067\u7b97\u8853\u6f14\u7b97\u5b50\u3092\u4f7f\u3063\u305f\u5834\u5408\u3068BigDecimal\u578b\u3067\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306bdouble\u578b\u3092\u4f7f\u3063\u305f\u5834\u5408\u306f<span style=\"color: #ff0000;\"><strong>\u8aa4\u5dee\u304c\u751f\u3058\u3066\u6b63\u78ba\u306a\u5024\u304c\u7b97\u51fa\u3067\u304d\u3066\u3044\u307e\u305b\u3093\u3002<\/strong><\/span><\/p>\n<p>\u3053\u308c\u306b\u5bfe\u3057\u3066\u3001BigDecimal\u578b\u3067\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306bString\u578b\u3092\u4f7f\u3063\u305f\u5834\u5408\u306f<span style=\"color: #0000ff;\"><strong>\u8aa4\u5dee\u306f\u751f\u3058\u305a\u3001\u6b63\u78ba\u306a\u5024\u3092\u7b97\u51fa<\/strong><\/span>\u3067\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u639b\u3051\u7b97<\/h3>\n<p><span style=\"color: #0000ff;\"><strong>\u639b\u3051\u7b97<\/strong><\/span>\u3092\u884c\u3046\u5834\u5408\u306f <span style=\"color: #339966;\"><strong>multiply<\/strong><\/span>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:java decode:true \">import java.math.BigDecimal;\r\n\r\npublic class Main {\r\n \r\n    public static void main(String[] args) {\r\n        \/\/ double\u578b\u3067\u7b97\u8853\u6f14\u7b97\u5b50\u3092\u4f7f\u3046\u5834\u5408\r\n        double d1 = 0.8;\r\n        double d2 = 0.9;\r\n        System.out.println(d1 + \" x \" + d2 + \" = \" + (d1 * d2));\r\n        \r\n        \/\/ BigDecimal\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306bdouble\u578b\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\r\n        BigDecimal bd1 = new BigDecimal(0.8);\r\n        BigDecimal bd2 = new BigDecimal(0.9);\r\n        BigDecimal result1 = bd1.multiply(bd2);\r\n        System.out.println(bd1 + \" x \" + bd2 + \" = \" + result1);\r\n        \r\n        \/\/ BigDecimal\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306bString\u578b\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\r\n        BigDecimal bd3 = new BigDecimal(\"0.8\");\r\n        BigDecimal bd4 = new BigDecimal(\"0.9\");\r\n        BigDecimal result2 = bd3.multiply(bd4);\r\n        System.out.println(bd3 + \" x \" + bd4 + \" = \" + result2);    \r\n    }\r\n\r\n}<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">0.8 x 0.9 = 0.7200000000000001\r\n0.8000000000000000444089209850062616169452667236328125 x 0.90000000000000002220446049250313080847263336181640625 = 0.720000000000000057731597280508141088104978266987413014660706603482787091508043886278755962848663330078125\r\n0.8 x 0.9 = 0.72<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u3082\u3001double\u578b\u3067\u7b97\u8853\u6f14\u7b97\u5b50\u3092\u4f7f\u3063\u305f\u5834\u5408\u3068BigDecimal\u578b\u3067\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306bdouble\u578b\u3092\u4f7f\u3063\u305f\u5834\u5408\u306f<span style=\"color: #ff0000;\"><strong>\u8aa4\u5dee\u304c\u751f\u3058\u3066\u6b63\u78ba\u306a\u5024\u304c\u7b97\u51fa\u3067\u304d\u3066\u3044\u307e\u305b\u3093<\/strong><\/span>\u3002<\/p>\n<p>\u3053\u308c\u306b\u5bfe\u3057\u3066\u3001BigDecimal\u578b\u3067\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306bString\u578b\u3092\u4f7f\u3063\u305f\u5834\u5408\u306f<span style=\"color: #0000ff;\"><strong>\u8aa4\u5dee\u306f\u751f\u3058\u305a\u3001\u6b63\u78ba\u306a\u5024\u3092\u7b97\u51fa<\/strong><\/span>\u3067\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u5272\u308a\u7b97<\/h3>\n<p><span style=\"color: #0000ff;\"><strong>\u5272\u308a\u7b97<\/strong><\/span>\u3092\u884c\u3046\u5834\u5408\u306f <span style=\"color: #339966;\"><strong>divide<\/strong><\/span>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u5272\u308a\u7b97\u306e\u5834\u5408\u306f\u6c17\u3092\u3064\u3051\u308b\u3079\u304d\u70b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u300110 \u00f7 3 = 3.33333\u2026 \u306e\u3088\u3046\u306a<span style=\"color: #ff0000;\"><strong>\u7d50\u679c\u304c\u5272\u308a\u5207\u308c\u306a\u3044\u5024\u306e\u5834\u5408\u3001ArithmeticException\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u767a\u751f<\/strong><\/span>\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3092\u56de\u907f\u3059\u308b\u305f\u3081\u306b\u3001BigDecimal\u3067\u306f\u5404\u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u306b\u7b2c\u4e8c\u5f15\u6570\u4ee5\u964d\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u7b2c3\u5f15\u6570\u306b\u8a08\u7b97\u7d50\u679c\u306e\u5024\u306e<span style=\"color: #0000ff;\"><strong>\u4e38\u3081\u65b9\u6cd5\u3092\u6307\u5b9a<\/strong><\/span>\u3059\u308b\u3053\u3068\u3067\u3001\u30a8\u30e9\u30fc\u3092\u56de\u907f\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u7b2c2\u5f15\u6570\u3067\u306f\u5c0f\u6570\u70b9\u4ee5\u4e0b\u306e<span style=\"color: #0000ff;\"><strong>\u6841\u6570\u3092\u6307\u5b9a<\/strong><\/span>\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:java decode:true \">import java.math.BigDecimal;\r\n\r\npublic class Main {\r\n \r\n    public static void main(String[] args) {\r\n        \/\/ double\u578b\u3067\u7b97\u8853\u6f14\u7b97\u5b50\u3092\u4f7f\u3046\u5834\u5408\r\n        double d1 = 10.0;\r\n        double d2 = 3.0;\r\n        System.out.println(d1 + \" \u00f7 \" + d2 + \" = \" + (d1 \/ d2));\r\n        \r\n        \/\/ BigDecimal\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306bdouble\u578b\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\r\n        BigDecimal bd1 = new BigDecimal(10.0);\r\n        BigDecimal bd2 = new BigDecimal(3.0);\r\n        BigDecimal result1 = bd1.divide(bd2, 1, BigDecimal.ROUND_HALF_UP);\r\n        System.out.println(bd1 + \" \u00f7 \" + bd2 + \" = \" + result1);\r\n        \r\n        \/\/ BigDecimal\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306bString\u578b\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\r\n        BigDecimal bd3 = new BigDecimal(\"10.0\");\r\n        BigDecimal bd4 = new BigDecimal(\"3.0\");\r\n        BigDecimal result2 = bd3.divide(bd4, 1, BigDecimal.ROUND_HALF_UP);\r\n        System.out.println(bd3 + \" \u00f7 \" + bd4 + \" = \" + result2);    \r\n    }\r\n\r\n}<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">10.0 \u00f7 3.0 = 3.3333333333333335\r\n10 \u00f7 3 = 3.3\r\n10.0 \u00f7 3.0 = 3.3<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001double\u578b\u3067\u7b97\u8853\u6f14\u7b97\u5b50\u3092\u4f7f\u3063\u305f\u5834\u5408\u306f<span style=\"color: #ff0000;\"><strong>\u8aa4\u5dee\u304c\u751f\u3058\u3066\u6b63\u78ba\u306a\u5024\u304c\u7b97\u51fa\u3067\u304d\u3066\u3044\u307e\u305b\u3093<\/strong><\/span>\u3002<\/p>\n<p>\u3053\u308c\u306b\u5bfe\u3057\u3066\u3001BigDecimal\u578b\u3092\u4f7f\u3063\u305f\u5834\u5408\u306f<span style=\"color: #0000ff;\"><strong>\u8aa4\u5dee\u306f\u751f\u3058\u305a\u3001\u6b63\u78ba\u306a\u5024\u3092\u7b97\u51fa<\/strong><\/span>\u3067\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>BigDecimal\u3067\u56db\u6368\u4e94\u5165\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>BigDecimal\u3067\u56db\u6368\u4e94\u5165\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/21345\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/\u3010\u89e3\u6c7aJava\u3011BigDecimal\u3067\u56db\u6368\u4e94\u5165\u3084\u5207\u308a\u6368\u3066\u306e\u4e38\u3081\u8aa4\u5dee\u3092\u89e3\u6c7a-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010\u89e3\u6c7aJava\u3011BigDecimal\u3067\u56db\u6368\u4e94\u5165\u3084\u5207\u308a\u6368\u3066\u306e\u4e38\u3081\u8aa4\u5dee\u3092\u89e3\u6c7a<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>BigDecimal\u3067\u6d88\u8cbb\u7a0e\u3092\u8a08\u7b97\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>900\u5186\u306e\u5546\u54c1\u306b\u5bfe\u3059\u308b\u6d88\u8cbb\u7a0e\u3092\u542b\u3081\u305f\u4ee3\u91d1\u306f 900 \u00d7 1.08 = 972\u5186\u3068\u8a08\u7b97\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092Java\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u4e0a\u3067\u8a08\u7b97\u3092\u304a\u3053\u306a\u3046\u5834\u5408\u3001<span style=\"color: #339966;\"><strong>double<\/strong><\/span>\u578b\u3067<span style=\"color: #0000ff;\"><strong>\u7b97\u8853\u6f14\u7b97\u5b50\u3092\u4f7f\u3063\u3066\u8a08\u7b97<\/strong><\/span>\u3059\u308b\u65b9\u6cd5\u3068\u3001<span style=\"color: #0000ff;\"><strong>BigDecimal\u30af\u30e9\u30b9\u3092\u4f7f\u3046\u65b9\u6cd5<\/strong><\/span>\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:java decode:true \">import java.math.BigDecimal;\r\n\r\npublic class Main {\r\n \r\n    public static void main(String[] args) {\r\n        \/\/ double\u578b\u3067\u7b97\u8853\u6f14\u7b97\u5b50\u3092\u4f7f\u3046\u5834\u5408\r\n        double price = 900;\r\n        double tax = 1.08;\r\n        double result = price * tax;\r\n        System.out.println(result);\r\n        \r\n        \/\/ BigDecimal\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306bdouble\u578b\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\r\n        BigDecimal price1 = new BigDecimal(900);\r\n        BigDecimal tax1 = new BigDecimal(1.08);\r\n        BigDecimal result1 = price1.multiply(tax1);\r\n        System.out.println(result1);\r\n        \r\n        \/\/ BigDecimal\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306bString\u578b\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\r\n        BigDecimal price2 = new BigDecimal(\"900\");\r\n        BigDecimal tax2 = new BigDecimal(\"1.08\");\r\n        BigDecimal result2 = price2.multiply(tax2);\r\n        System.out.println(result2);    \r\n    }\r\n\r\n}<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">972.0000000000001\r\n972.0000000000000639488462184090167284011840820312500\r\n972.00<\/pre>\n<p>double\u578b\u3067\u7b97\u8853\u6f14\u7b97\u5b50\u3092\u4f7f\u3063\u3066\u8a08\u7b97\u3057\u305f\u5834\u5408\u3068BigDecimal\u578b\u3067\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306bdouble\u578b\u3092\u4f7f\u3063\u305f\u5834\u5408\u306f<span style=\"color: #ff0000;\"><strong>\u8aa4\u5dee\u304c\u767a\u751f<\/strong><\/span>\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u308f\u305a\u304b\u306a\u5dee\u306b\u898b\u3048\u307e\u3059\u304c\u3001\u3053\u308c\u304c\u30b7\u30b9\u30c6\u30e0\u306e\u8981\u4ef6\u30671\u5186\u4ee5\u4e0b\u306f\u5207\u308a\u4e0a\u3052\u3068\u6c7a\u3081\u3066\u3044\u305f\u5834\u5408\u306f\u4ee3\u91d1\u304c973\u5186\u3068\u306a\u308a\u30011\u5186\u591a\u304f\u304a\u5ba2\u69d8\u3078\u8acb\u6c42\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u305d\u306e\u3053\u3068\u304c\u30b5\u30fc\u30d3\u30b9\u306e\u4fe1\u983c\u6027\u306e\u4f4e\u4e0b\u306b\u3064\u306a\u304c\u308a\u3001\u30aa\u30f3\u30e9\u30a4\u30f3\u30b7\u30e7\u30c3\u30d7\u306e\u5834\u5408\u3067\u306f\u9589\u5e97\u306b\u8ffd\u3044\u8fbc\u307e\u308c\u308b\u539f\u56e0\u306b\u306a\u308b\u53ef\u80fd\u6027\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #339966;\"><strong>BigDecimal<\/strong><\/span>\u578b\u3067\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5f15\u6570\u306bString\u578b\u3092\u4f7f\u3063\u305f\u5834\u5408\u3001<span style=\"color: #0000ff;\"><strong>\u6b63\u78ba\u306a\u8a08\u7b97\u7d50\u679c<\/strong><\/span>\u304c\u5f97\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>BigDecimal\u306e\u4f7f\u3044\u65b9\u7dcf\u307e\u3068\u3081\u8a18\u4e8b\u306f\u3053\u3061\u3089<\/h2>\n<p>BigDecimal\u306e\u3055\u307e\u3056\u307e\u306a\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u305c\u3072\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/25564\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/10\/java-bigdecimal-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Java\u5165\u9580\u3011BigDecimal\u306e\u4f7f\u3044\u65b9\u7dcf\u307e\u3068\u3081(\u8db3\u3057\u7b97\u3001\u5f15\u304d\u7b97\u306a\u3069\u306e\u8a08\u7b97)<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>\u6f14\u7b97\u5b50(\u7b97\u8853\u6f14\u7b97\u5b50)\u306b\u3064\u3044\u3066\u77e5\u308a\u305f\u3044\u65b9\u3078<\/h2>\n<p>\u7b97\u8853\u6f14\u7b97\u5b50\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u305c\u3072\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/13030\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/05\/shutterstock_595820321-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Java\u306e\u6f14\u7b97\u5b50\u3011\u7a2e\u985e\u3084\u4f7f\u3044\u65b9\u3092\u7db2\u7f85\u3057\u307e\u3057\u305f\uff01<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>\u65e5\u4ed8\u306e\u8a08\u7b97\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u65b9\u3078<\/h2>\n<p>\u307e\u305f\u3001\u65e5\u4ed8\u306e\u8a08\u7b97\u306b\u3064\u3044\u3066\u3082\u7b97\u8853\u6f14\u7b97\u5b50\u3092\u4f7f\u3046\u306e\u3067\u306f\u306a\u304f\u3001\u30e1\u30bd\u30c3\u30c9\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u65e5\u4ed8\u306e\u8a08\u7b97\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u305c\u3072\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/21253\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/04\/image-52-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Java\u5165\u9580\u3011Date\u30af\u30e9\u30b9\u3067\u73fe\u5728\u65e5\u6642\u306e\u53d6\u5f97\u3068\u52a0\u7b97\/\u6e1b\u7b97\u306a\u3069\u306e\u8a08\u7b97(add)<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u3053\u3053\u3067\u306f\u3001BigDecimal\u306b\u3064\u3044\u3066\u3001\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u6d88\u8cbb\u7a0e\u3092\u8a08\u7b97\u3059\u308b\u5b9f\u52d9\u7684\u306a\u5177\u4f53\u4f8b\u306b\u3064\u3044\u3066\u3082\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u5c0f\u6570\u70b9\u4ee5\u4e0b\u306e\u6570\u5b57\u3092\u6271\u3046\u30b7\u30b9\u30c6\u30e0\u306f\u6570\u591a\u304f\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e00\u898b\u3059\u308b\u3068\u8a08\u7b97\u7d50\u679c\u306b\u554f\u984c\u306a\u3044\u3088\u3046\u306b\u898b\u3048\u3066\u3082\u3001<span style=\"color: #ff0000;\"><strong>\u6b63\u78ba\u306a\u8a08\u7b97\u304c\u5fc5\u8981\u306a\u5834\u5408<\/strong><\/span>\u306b\u306fdouble\/float\u3067\u306f\u306a\u304f\u3001<span style=\"color: #339966;\"><strong>BigDecimal<\/strong><\/span>\u3092\u4f7f\u3046\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3082\u3057\u3001BigDecimal\u306e\u4f7f\u3044\u65b9\u3092\u5fd8\u308c\u3066\u3057\u307e\u3063\u305f\u3089\u3001\u3053\u306e\u8a18\u4e8b\u3092\u601d\u3044\u51fa\u3057\u3066\u304f\u3060\u3055\u3044\u306d\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u306e\u6843\u592a\u90ce\u3067\u3059\u3002 Java\u306b\u306f\u8aa4\u5dee\u304c\u51fa\u306a\u3044\u3088\u3046\u306b\u56db\u5247\u6f14\u7b97\u3059\u308b\u305f\u3081\u306e\u30af\u30e9\u30b9\u3068\u3057\u3066BigDecimal\u304c\u3042\u308a\u307e\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001 \u30fbBigDecimal\u3068\u306f \u30fbBigDecimal\u306e\u4f7f\u3044\u65b9 \u3068\u3044\u3046\u57fa\u672c [&hellip;]<\/p>\n","protected":false},"author":16433,"featured_media":30457,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"swell_btn_cv_data":"","footnotes":""},"categories":[2344],"tags":[67],"class_list":["post-21804","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java-study","tag-java"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u3010Java\u5165\u9580\u3011BigDecimal\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u8aa4\u5dee\u306a\u304f\u8a08\u7b97\u3059\u308b\u65b9\u6cd5 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Java\u5165\u9580\u3011BigDecimal\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u8aa4\u5dee\u306a\u304f\u8a08\u7b97\u3059\u308b\u65b9\u6cd5 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sejuku.net\/blog\/21804\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010Java\u5165\u9580\u3011BigDecimal\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u8aa4\u5dee\u306a\u304f\u8a08\u7b97\u3059\u308b\u65b9\u6cd5 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Java\u5165\u9580\u3011BigDecimal\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u8aa4\u5dee\u306a\u304f\u8a08\u7b97\u3059\u308b\u65b9\u6cd5 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sejuku.net\/blog\/21804\" \/>\n<meta property=\"og:site_name\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sejuku2013\" \/>\n<meta property=\"article:published_time\" content=\"2017-04-24T04:25:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:41:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/Java_BigDecimal_calc.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@samuraijuku\" \/>\n<meta name=\"twitter:site\" content=\"@samuraijuku\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/21804#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/21804\"},\"author\":{\"name\":\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/d20c57b59dba15001519a8a671183095\"},\"headline\":\"\u3010Java\u5165\u9580\u3011BigDecimal\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u8aa4\u5dee\u306a\u304f\u8a08\u7b97\u3059\u308b\u65b9\u6cd5\",\"datePublished\":\"2017-04-24T04:25:17+00:00\",\"dateModified\":\"2024-05-06T02:41:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/21804\"},\"wordCount\":117,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/21804#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/08\\\/Java_BigDecimal_calc.jpg\",\"keywords\":[\"Java\"],\"articleSection\":[\"Java\u5b66\u7fd2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/21804\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/21804\",\"name\":\"\u3010Java\u5165\u9580\u3011BigDecimal\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u8aa4\u5dee\u306a\u304f\u8a08\u7b97\u3059\u308b\u65b9\u6cd5 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/21804#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/21804#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/08\\\/Java_BigDecimal_calc.jpg\",\"datePublished\":\"2017-04-24T04:25:17+00:00\",\"dateModified\":\"2024-05-06T02:41:48+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Java\u5165\u9580\u3011BigDecimal\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u8aa4\u5dee\u306a\u304f\u8a08\u7b97\u3059\u308b\u65b9\u6cd5 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/21804#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/21804\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/21804#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/08\\\/Java_BigDecimal_calc.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/08\\\/Java_BigDecimal_calc.jpg\",\"width\":700,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/21804#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010Java\u5165\u9580\u3011BigDecimal\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u8aa4\u5dee\u306a\u304f\u8a08\u7b97\u3059\u308b\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"description\":\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\",\"name\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"width\":600,\"height\":600,\"caption\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\",\"https:\\\/\\\/x.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\\\/featured\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/d20c57b59dba15001519a8a671183095\",\"name\":\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g\",\"caption\":\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\"},\"description\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u587e\u306f\u300c\u4eba\u751f\u3092\u5909\u3048\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u300d\u3092\u30b3\u30f3\u30bb\u30f3\u30d7\u30c8\u306b\u3001\u904e\u53bb\u591a\u304f\u306e\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u8f29\u51fa\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3067\u3059\u3002\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\u3067\u306f\u6280\u8853\u7cfb\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4e2d\u5fc3\u306b\u6709\u7528\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u304d\u307e\u3059\u3002\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/author\\\/samurai-tech\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010Java\u5165\u9580\u3011BigDecimal\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u8aa4\u5dee\u306a\u304f\u8a08\u7b97\u3059\u308b\u65b9\u6cd5 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Java\u5165\u9580\u3011BigDecimal\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u8aa4\u5dee\u306a\u304f\u8a08\u7b97\u3059\u308b\u65b9\u6cd5 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sejuku.net\/blog\/21804","og_locale":"ja_JP","og_type":"article","og_title":"\u3010Java\u5165\u9580\u3011BigDecimal\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u8aa4\u5dee\u306a\u304f\u8a08\u7b97\u3059\u308b\u65b9\u6cd5 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Java\u5165\u9580\u3011BigDecimal\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u8aa4\u5dee\u306a\u304f\u8a08\u7b97\u3059\u308b\u65b9\u6cd5 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","og_url":"https:\/\/www.sejuku.net\/blog\/21804","og_site_name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/sejuku2013","article_published_time":"2017-04-24T04:25:17+00:00","article_modified_time":"2024-05-06T02:41:48+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/Java_BigDecimal_calc.jpg","type":"image\/jpeg"}],"author":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_creator":"@samuraijuku","twitter_site":"@samuraijuku","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sejuku.net\/blog\/21804#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/21804"},"author":{"name":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/d20c57b59dba15001519a8a671183095"},"headline":"\u3010Java\u5165\u9580\u3011BigDecimal\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u8aa4\u5dee\u306a\u304f\u8a08\u7b97\u3059\u308b\u65b9\u6cd5","datePublished":"2017-04-24T04:25:17+00:00","dateModified":"2024-05-06T02:41:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/21804"},"wordCount":117,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/21804#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/Java_BigDecimal_calc.jpg","keywords":["Java"],"articleSection":["Java\u5b66\u7fd2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/21804","url":"https:\/\/www.sejuku.net\/blog\/21804","name":"\u3010Java\u5165\u9580\u3011BigDecimal\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u8aa4\u5dee\u306a\u304f\u8a08\u7b97\u3059\u308b\u65b9\u6cd5 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/21804#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/21804#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/Java_BigDecimal_calc.jpg","datePublished":"2017-04-24T04:25:17+00:00","dateModified":"2024-05-06T02:41:48+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Java\u5165\u9580\u3011BigDecimal\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u8aa4\u5dee\u306a\u304f\u8a08\u7b97\u3059\u308b\u65b9\u6cd5 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","breadcrumb":{"@id":"https:\/\/www.sejuku.net\/blog\/21804#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/21804"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/21804#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/Java_BigDecimal_calc.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/Java_BigDecimal_calc.jpg","width":700,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/21804#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3010Java\u5165\u9580\u3011BigDecimal\u3067\u5c0f\u6570\u70b9\u4ee5\u4e0b\u3092\u8aa4\u5dee\u306a\u304f\u8a08\u7b97\u3059\u308b\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.sejuku.net\/blog\/#website","url":"https:\/\/www.sejuku.net\/blog\/","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002","publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sejuku.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.sejuku.net\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793eSAMURAI","url":"https:\/\/www.sejuku.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","width":600,"height":600,"caption":"\u682a\u5f0f\u4f1a\u793eSAMURAI"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sejuku2013","https:\/\/x.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g\/featured"]},{"@type":"Person","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/d20c57b59dba15001519a8a671183095","name":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g","caption":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8"},"description":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u587e\u306f\u300c\u4eba\u751f\u3092\u5909\u3048\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u300d\u3092\u30b3\u30f3\u30bb\u30f3\u30d7\u30c8\u306b\u3001\u904e\u53bb\u591a\u304f\u306e\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u8f29\u51fa\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3067\u3059\u3002\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\u3067\u306f\u6280\u8853\u7cfb\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4e2d\u5fc3\u306b\u6709\u7528\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u304d\u307e\u3059\u3002","url":"https:\/\/www.sejuku.net\/blog\/author\/samurai-tech"}]}},"_links":{"self":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/21804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/users\/16433"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/comments?post=21804"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/21804\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/30457"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=21804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=21804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=21804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}