|
Will report an error
Exception Details: System.Reflection.AmbiguousMatchException: The overload decision failed because there is no Public "Round" that can be called with these parameters:
'Public Shared Function Round (d As Decimal, decimals As Integer) As Decimal':
A parameter matching the parameter "d" cannot be converted from "DBNull" to "Decimal".
'Public Shared Function Round (d As Decimal, mode As System.MidpointRounding) As Decimal':
A parameter matching the parameter "d" cannot be converted from "DBNull" to "Decimal".
'Public Shared Function Round (value As Double, digits As Integer) As Double':
Parameters matching the parameter "value" cannot be converted from "DBNull" to "Double".
'Public Shared Function Round (value As Double, mode As System.MidpointRounding) As Double':
Parameters matching the parameter "value" cannot be converted from "DBNull" to "Double". |
|