div 0
This commit is contained in:
parent
d4daa4e460
commit
6a5782035a
6
fpvt.frm
6
fpvt.frm
@ -356,7 +356,11 @@ Private Sub UserForm_Activate()
|
|||||||
If (bVol + pVol) = 0 Then
|
If (bVol + pVol) = 0 Then
|
||||||
pPrc = 0
|
pPrc = 0
|
||||||
Else
|
Else
|
||||||
pPrc = (pVal + bVal) / (bVol + pVol) - bVal / bVol
|
If bVol = 0 Then
|
||||||
|
pPrc = 0
|
||||||
|
Else
|
||||||
|
pPrc = (pVal + bVal) / (bVol + pVol) - bVal / bVol
|
||||||
|
End If
|
||||||
End If
|
End If
|
||||||
If aVal <> 0 Then
|
If aVal <> 0 Then
|
||||||
MsgBox (aVal)
|
MsgBox (aVal)
|
||||||
|
Loading…
Reference in New Issue
Block a user