VB.NET DivRem Example – Code Sample Syntax

VB.NET DivRem Example – Code Sample Syntax Purpose: – Illustrates using VB.NET DivRem Code Example. View Other VB.NET Math Function Source Code Examples Purpose: takes an dividend, divisor, and remainder as Int32 or Int64 and returns quotient as same data type. Remainder is passed by reference and it gets updated with the remainder when the function executes. Syntax: DivRem(dividend32, divisor32,... [Read More...]

VB.NET Cosh Example – Code Sample Syntax

VB.NET Cosh Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Cosh Code Example. View Other VB.NET Math Function Source Code Examples Purpose: takes an angle specified in radians (to convert degrees to radians multiply degrees by 180/Math.PI) and returns the hyperbolic cosine for the angle as a double data type. Syntax: Cosh(doublenumber) Parameters Description doublenumber double percision... [Read More...]

VB.NET Ceiling Example – Code Sample Syntax

VB.NET Ceiling Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Ceiling Code Example. View Other VB.NET Math Function Source Code Examples Purpose: takes a decimal or double number and returns a value that represents the next equal or higher whole number. Although the result is a whole number, it is returned as a the same data type that was passed in. Math.Floor is different ... [Read More...]

VB.NET BigMul Example – Code Sample Syntax

VB.NET BigMul Example – Code Sample Syntax Purpose: – Illustrates using VB.NET BigMul Code Example. View Other VB.NET Math Function Source Code Examples Purpose: takes 2 32-bit integer numbers and returns their full product as a 64-bit integer Syntax: BigMul(int1 as Int32, int2 as Int32) Parameters Description int1 Int32 int2 Int32 Result Data Type Description 64 bit integer full product of 2 inputs Step... [Read More...]

VB.NET Atan2 Example – Code Sample Syntax

VB.NET Atan2 Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Atan2 Code Example. View Other VB.NET Math Function Source Code Examples Purpose: takes 2 double data type numbers and returns a double value containing the angle (measured in radians) whose tangent is the quotient of two specified numbers (you can convert the radians to degrees by multiplying them by Math.PI/180) Syntax:... [Read More...]

VB.NET Asin Example – Code Sample Syntax

VB.NET Asin Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Asin Code Example. View Other VB.NET Math Function Source Code Examples Purpose: takes a double data type number that represents a sine and returns a double value that represents the angle of that sine when measured in radians. (you can convert the radians to degrees by multiplying them by Math.PI/180) Syntax: Asin(double) ... [Read More...]

VB.NET Acos Example – Code Sample Syntax

VB.NET Acos Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Acos Code Example. View Other VB.NET Math Function Source Code Examples Purpose: takes a cosine as double data type number and returns a double value that represents the angle in radians (you can convert the radians to degrees by multiplying them by Math.PI/180) Syntax: Acos(double) Parameters Description double Any valid... [Read More...]

VB.NET Console Math Function Examples

VB.NET Console Math Function Examples Purpose: – Illustrates Math Function Examples for VB.NET Console Applications. View Other VB.NET Console Source Code Examples » VB.NET Console Math Function Examples Math Functions Input Expression & Purpose Result Abs(expression) Decimal, Double, Int16, Int32, Int64, SByte, Single – absolute value is returned DataTypeofInput Acos(double) Double – takes a cosine as... [Read More...]

VB.NET Exp Example – Code Sample Syntax

VB.NET Exp Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Exp Code Example. View Other VB.NET Math Function Source Code Examples Purpose: takes a double data type number and returns a double value containing e (the base of natural logarithms) raised to the specified power. Syntax: Exp(doublenumber) Parameters Description doublenumber a number specifying a power. Result Data Type Description double The... [Read More...]

VB.NET Cos Example – Code Sample Syntax

VB.NET Cos Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Cos Code Example. View Other VB.NET Math Function Source Code Examples Purpose: converts an angle measured in radians to a cosine. (you can convert the radians to degrees by multiplying them by Math.PI/180) Syntax: Cos(doublenumber) Parameters Description doublenumber double percision floating point number representing an angle... [Read More...]

VB.NET Atan Example – Code Sample Syntax

VB.NET Atan Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Atan Code Example. View Other VB.NET Math Function Source Code Examples Purpose: converts a tangent to radians of an angle. The function takes a double data type number and returns a double value that repesents the radians of the angle for that tangent. (you can convert the radians to degrees by multiplying them... [Read More...]

« Previous PageNext Page »