divison by zero error

  • Thread starter Thread starter khanner
  • Start date Start date
K

khanner

this never used to show up till now.

'Compute Appraisal Value
If BBG("Orig# LTV").Value < 1 Then ltv = BBG("Orig# LTV").Value Else
ltv = BBG("Orig# LTV").Value / 100
loantape("OrigAppraisalValue").Value = CLng(BBG("Orig# Amt").Value)
/ CLng(ltv)
 
If BBG("Orig# LTV").Value < 1
0 < 1 is true so you need to make sure that BBG("Orig# LTV").Value isn't 0.
 
Back
Top