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 |
Related posts:
- How to find Square root of a given number
- Math & Physics Functions
- How to find the receprocal of a given number
- ArcTangent function that works in all quadrants
- How to calculate various properties of a quadratic equation by calculus and algebraic methods
- How to calculate arctangents in all four quadrants
- VB 6 equivalent functions to .Net’s Floor & Ceiling functions
- How to return Quotient and Remainder for given two numbers
- How to Round Numbers
- How to Convert the number n to any base between 2 and 36