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