teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

ソース修正

2019/05/10 06:49

投稿

yokatone
yokatone

スコア43

title CHANGED
File without changes
body CHANGED
@@ -19,12 +19,18 @@
19
19
 
20
20
  ```ここに言語名を入力
21
21
 
22
+ private decimal Kirisute(decimal d){
23
+ //処理
24
+ }
25
+
22
26
  decimal da = 1
23
27
  decimal db = (da / 3)
24
28
  decimal dc = db * 3
25
29
 
30
+ decimal dd = Kirisute(dc)
31
+
26
- ` expected = 1
32
+ // expected: dd = 1, dc = 0.999...
27
- ` actual = 0.999....
33
+ // actual: dd = 0.999..., dd = 0.999....
28
34
  ```
29
35
 
30
36
  ### 補足情報(FW/ツールのバージョンなど)