Can someone suggest what is wrong here?
Diameter is passed in as 12.7 but it is not acceptint it as a true statement.
Function Volume(Diameter As Single) If Diameter = 12.7 Then end if End Function
Solved! Go to Solution.
Solved by arcticad. Go to Solution.
Function Volume(ByVal Diameter As Single) As Boolean
If Diameter = CSng(12.7) Then
Return True
Else
Return False
End If
End Function