CodeItBetter Programming Another VB Programming Blog

How to find Square of a given number

Posted on January 4, 2009
1
2
3
4
'Math - How to find Square of a given number
Public Function dblSquare(ByVal sngSquareMe As Integer) As Double
    dblSquare = sngSquareMe * sngSquareMe    'Use *, not ^2, for speed
End Function
Filed under: Math Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.