Public
Function Quotient(ByVal numerator As Decimal,
denominator As Decimal) As Decimal
If denominator = 0 Then
Return 0
Else
Return numerator / denominator
End If
End Function
If denominator = 0 Then
Return 0
Else
Return numerator / denominator
End If
End Function
Thanks to: http://williameduardo.com/development/ssrs/ssrs-divide-by-zero-error/
No comments:
Post a Comment