質問編集履歴
1
ソース修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,6 +40,14 @@
|
|
40
40
|
|
41
41
|
|
42
42
|
|
43
|
+
private decimal Kirisute(decimal d){
|
44
|
+
|
45
|
+
//処理
|
46
|
+
|
47
|
+
}
|
48
|
+
|
49
|
+
|
50
|
+
|
43
51
|
decimal da = 1
|
44
52
|
|
45
53
|
decimal db = (da / 3)
|
@@ -48,9 +56,13 @@
|
|
48
56
|
|
49
57
|
|
50
58
|
|
51
|
-
|
59
|
+
decimal dd = Kirisute(dc)
|
52
60
|
|
61
|
+
|
62
|
+
|
63
|
+
// expected: dd = 1, dc = 0.999...
|
64
|
+
|
53
|
-
|
65
|
+
// actual: dd = 0.999..., dd = 0.999....
|
54
66
|
|
55
67
|
```
|
56
68
|
|