C-Sharp Max Example – Code Sample Syntax

C-Sharp Max Example – Code Sample Syntax Purpose: – Illustrates using C-Sharp Max Code Example. View Other C-Sharp 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...]

C-Sharp Log10 Example – Code Sample Syntax

C-Sharp Log10 Example – Code Sample Syntax Purpose: – Illustrates using C-Sharp Log10 Code Example. View Other C-Sharp 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... [Read More...]

C-Sharp Log Example – Code Sample Syntax

C-Sharp Log Example – Code Sample Syntax Purpose: – Illustrates using C-Sharp Log Code Example. View Other C-Sharp 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...]

C-Sharp IEEERemainder Example – Code Sample Syntax

C-Sharp IEEERemainder Example – Code Sample Syntax Purpose: – Illustrates using C-Sharp IEEERemainder Code Example. View Other C-Sharp 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...]

C-Sharp Floor Example – Code Sample Syntax

C-Sharp Floor Example – Code Sample Syntax Purpose: – Illustrates using C-Sharp Floor Code Example. View Other C-Sharp 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...]

C-Sharp Exp Example – Code Sample Syntax

C-Sharp Exp Example – Code Sample Syntax Purpose: – Illustrates using C-Sharp Exp Code Example. View Other C-Sharp 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...]

C-Sharp DivRem Example – Code Sample Syntax

C-Sharp DivRem Example – Code Sample Syntax Purpose: – Illustrates using C-Sharp DivRem Code Example. View Other C-Sharp 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...]

C-Sharp Cosh Example – Code Sample Syntax

C-Sharp Cosh Example – Code Sample Syntax Purpose: – Illustrates using C-Sharp Cosh Code Example. View Other C-Sharp 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...]

C-Sharp Cos Example – Code Sample Syntax

C-Sharp Cos Example – Code Sample Syntax Purpose: – Illustrates using C-Sharp Cos Code Example. View Other C-Sharp 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... [Read More...]

C-Sharp Ceiling Example – Code Sample Syntax

C-Sharp Ceiling Example – Code Sample Syntax Purpose: – Illustrates using C-Sharp Ceiling Code Example. View Other C-Sharp 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...]

C-Sharp BigMul Example – Code Sample Syntax

C-Sharp BigMul Example – Code Sample Syntax Purpose: – Illustrates using C-Sharp BigMul Code Example. View Other C-Sharp 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 Quick... [Read More...]

« Previous PageNext Page »