VB.NET Round Example – Code Sample Syntax

VB.NET Round Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Round Code Example. View Other VB.NET Math Function Source Code Examples Purpose: takes a decimal or double as input parameter1 and returns the number rounded to the specified number of fractional decimals. If parameter 2 is not used, result is rounded to whole number. Parameter3 specifies rounding mode Syntax:... [Read More...]

VB.NET Pow Example – Code Sample Syntax

VB.NET Pow Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Pow Code Example. View Other VB.NET Math Function Source Code Examples Purpose: takes two double data type numbers and raises the first number to the power of the second. The result is returned as a double data type. Syntax: Pow(doublenumberbase, doublenumberpower) Parameters Description doublenumberbase Any valid System.Double... [Read More...]

VB.NET Min Example – Code Sample Syntax

VB.NET Min Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Min Code Example. View Other VB.NET Math Function Source Code Examples Purpose: Returns the Min value of the two parameters that were passed in. Syntax: Min(byte,byte) Min(decimal, decimal) Min(double, double) Min(int16, int16) Min(int32, int32) Min(int64, int64) Min(sbyte, sbyte) Min(single,... [Read More...]

VB.NET Max Example – Code Sample Syntax

VB.NET Max Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Max Code Example. View Other VB.NET Math Function Source Code Examples Purpose: Returns the Max value of the two parameters that were passed in. Syntax: Max(byte,byte) Max(decimal, decimal) Max(double, double) Max(int16, int16) Max(int32, int32) Max(int64, int64) Max(sbyte, sbyte) Max(single,... [Read More...]

VB.NET Log10 Example – Code Sample Syntax

VB.NET Log10 Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Log10 Code Example. View Other VB.NET Math Function Source Code Examples Purpose: takes a double data type number and returns the base 10 logarithm as a double data type. Syntax: Log10(doublenumber) Parameters Description doublenumber Any valid System.Double data type number 1. Positive – returns base 10 logarithm of... [Read More...]

VB.NET Log Example – Code Sample Syntax

VB.NET Log Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Log Code Example. View Other VB.NET Math Function Source Code Examples Purpose: takes a double data type number and returns the natural (base e) logarithm as a double data type. Syntax: Log(doublenumber) Parameters Description doublenumber Any valid System.Double data type number 1. Positive – returns natural logarithm ... [Read More...]

VB.NET IEEERemainder Example – Code Sample Syntax

VB.NET IEEERemainder Example – Code Sample Syntax Purpose: – Illustrates using VB.NET IEEERemainder Code Example. View Other VB.NET Math Function Source Code Examples Purpose: takes an dividend and divisor as double data type and returns the remainder as double data type. If you need quotient, use Math.DivRem function Syntax: IEEERemainder(dividend as double, divisor as double) Parameters Description dividend double divisor double Result... [Read More...]

VB.NET Floor Example – Code Sample Syntax

VB.NET Floor Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Floor 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 lower whole number. Although the result is a whole number, it is returned as a the same data type that was passed in. Math.Ceiling is different ... [Read More...]

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

« Previous PageNext Page »