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 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...]

VB.NET Abs Example – Code Sample Syntax

VB.NET Abs Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Abs Code Example. View Other VB.NET Math Function Source Code Examples Purpose: Returns the absolute value for the data type that was passed in. Syntax: Abs(expression) Parameters Description expression 1. decimal – returns decimal number 2. double – returns double-percision floating point number 3. int16 –... [Read More...]

VB.NET CUShort Example – Code Sample Syntax

VB.NET CUShort Example – Code Sample Syntax Abstract: – Illustrates using VB.NET CUShort Code Example. View Other VB.NET Conversion Function Source Code Examples Purpose: Converts numbers into UShort data type – UShort data type is a 16-bit (2-byte) unsigned integer that can hold values from 0 to 65,535 (unsigned). Rounds fractions to whole numbers Syntax: CUShort(expression) Parameters Description expression 0... [Read More...]

VB.NET CULng Example – Code Sample Syntax

VB.NET CULng Example – Code Sample Syntax Abstract: – Illustrates using VB.NET CULng Code Example. View Other VB.NET Conversion Function Source Code Examples Purpose: Converts numbers into ULong data type – ULong data type is a 64-bit (8-byte) unsigned integer that can hold values from 0 to 18,446,744,073,709,551,615 (unsigned). Rounds fractions to whole numbers Syntax: CULng(expression) Parameters Description expression 0... [Read More...]

VB.NET CUInt Example – Code Sample Syntax

VB.NET CUInt Example – Code Sample Syntax Abstract: – Illustrates using VB.NET CUInt Code Example. View Other VB.NET Conversion Function Source Code Examples Purpose: Converts numbers into UInteger data type – UInteger data type is a 32-bit (4-byte) unsigned integer that can hold values from 0 to about 4 billion (4,294,967,295). Rounds fractions to whole numbers Syntax: CUInt(expression) Parameters Description expression 0... [Read More...]

VB.NET CStr Example – Code Sample Syntax

VB.NET CStr Example – Code Sample Syntax Abstract: – Illustrates using VB.NET CStr Code Example. View Other VB.NET Conversion Function Source Code Examples Purpose: Converts boolean, date, and numeric data types into String data type Syntax: CStr(expression) Parameters Description expression boolean, date, and numeric data types Result Data Type Description String 1. If boolean, returns string “True”... [Read More...]

« Previous PageNext Page »