Displaying a 0

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I must be having a programming block, because I cannot for the life of me figure this out, and I know it's a simple solution.
I have code that updates a zone table block with attributes.
When the macro is run, if there are no polylines on certain layers or those polylines have areas that round down to 0 square feet, the macro updates the attributes with nothing.
My boss would like to see a 0. Here is the code I have:
If TypeOf oEnt Is AcadLWPolyline Then
If oEnt.Layer = USFLay Then
dblUSF = dblUSF + oEnt.Area / 144
Else
If oEnt.Layer = UNSFLay Then
dblUNSF = dblUNSF + oEnt.Area / 144
End If
End If
End If