explain two numeric functions of visual basic
Answers
Answer:
A Function procedure is a series of Visual Basic statements enclosed by the Function and End Function statements. The Function procedure performs a task and then returns control to the calling code. When it returns control, it also returns a value to the calling code.
hope this will helps u...be happy....
@ITZSUGARYHEAVEN3
Answer:
VB Math Functions: Numeric Functions
The following functions are for mathematics.
Function - Purpose
- Returns the absolute value of a number - Abs Function
- Exp
Returns the value of e raised to a power
Exp Function
Fix
Removes the fractional part of a number and returns the integer part only.
Fix Function
Int
Returns the integer part of a number. For negative numbers, returns the largest integer less than or equal to the expression.
Int Function
IsNumeric
Determines whether a value is a legal number
IsNumeric Function
Log
Returns the natural logarithm of a value
Log Function
Rnd
Returns a random number
Rnd Function
Sgn
Returns a value indicating the sign of a number
Sgn Function
Sqr
Returns the square root of a number
Sqr Function