質問編集履歴

6

入力有効値整数8桁、少数点以下3桁。

2020/12/03 03:56

投稿

ad.sys.soleil
ad.sys.soleil

スコア28

test CHANGED
File without changes
test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  dim bb as Double
12
12
 
13
- dim CC as Double
13
+ '入力有効値整数8桁、少数点以下3桁。
14
14
 
15
15
  dim Result as Decimal
16
16
 

5

削除

2020/12/03 03:56

投稿

ad.sys.soleil
ad.sys.soleil

スコア28

test CHANGED
File without changes
test CHANGED
@@ -22,14 +22,4 @@
22
22
 
23
23
  Result = CDec(aa * BB )
24
24
 
25
- '(割り算)
26
-
27
- Result = CDec(aa) * CDec( CDec(BB) / CDec(CC) )
28
-
29
- Result = CDec(aa) * ( CDec(BB) / CDec(CC) )
30
-
31
- Result = CDec(aa * CDec( BB / CC ) )
32
-
33
- Result = CDec(aa * ( BB / CC ) )
34
-
35
25
  ```

4

dim Result as Decimal

2020/12/03 02:35

投稿

ad.sys.soleil
ad.sys.soleil

スコア28

test CHANGED
File without changes
test CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
  dim CC as Double
14
14
 
15
- dim Result as Double
15
+ dim Result as Decimal
16
16
 
17
17
  '(掛け算)
18
18
 

3

3213

2020/12/03 02:21

投稿

ad.sys.soleil
ad.sys.soleil

スコア28

test CHANGED
File without changes
test CHANGED
File without changes

2

タイトル変更

2020/12/03 02:20

投稿

ad.sys.soleil
ad.sys.soleil

スコア28

test CHANGED
@@ -1 +1 @@
1
- vbでのDouble計算でのCdec利用方法はどれ。
1
+ vbでのDouble計算でのCDec記述方法はどれ。
test CHANGED
File without changes

1

一行追記

2020/12/03 01:59

投稿

ad.sys.soleil
ad.sys.soleil

スコア28

test CHANGED
File without changes
test CHANGED
@@ -16,6 +16,8 @@
16
16
 
17
17
  '(掛け算)
18
18
 
19
+ Result = CDec(CDec(aa) * CDec(BB))
20
+
19
21
  Result = CDec(aa) * CDec(BB)
20
22
 
21
23
  Result = CDec(aa * BB )