Sign Example Syntax C-Sharp ASP.NET | C# Sign | Source Code
Sign Example Syntax C-Sharp ASP.NET | C# Sign | Source Code Summary: – Illustrates using Sign with Source Code Syntax Example in C-Sharp ASP.NET. View Other C-Sharp ASP.NET Math Function Examples Purpose: Returns an integer indicating the sign of the input parameter. The result is -1 if the input parameter is less than one; 0 if the input is zero; and 1 if the input is > 0 Syntax: 1. Sign(decimal) 2. Sign(double) 3. Sign(int16) ... [Read More...]
Round Example Syntax C-Sharp ASP.NET | C# Round | Source Code
Round Example Syntax C-Sharp ASP.NET | C# Round | Source Code Summary: – Illustrates using Round with Source Code Syntax Example in C-Sharp ASP.NET. View Other C-Sharp ASP.NET Math Function 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... [Read More...]
Pow Example Syntax C-Sharp ASP.NET | C# Pow | Source Code
Pow Example Syntax C-Sharp ASP.NET | C# Pow | Source Code Summary: – Illustrates using Pow with Source Code Syntax Example in C-Sharp ASP.NET. View Other C-Sharp ASP.NET Math Function 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... [Read More...]
Min Example Syntax C-Sharp ASP.NET | C# Min | Source Code
Min Example Syntax C-Sharp ASP.NET | C# Min | Source Code Summary: – Illustrates using Min with Source Code Syntax Example in C-Sharp ASP.NET. View Other C-Sharp ASP.NET Math Function 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, single) ... [Read More...]
Max Example Syntax C-Sharp ASP.NET | C# Max | Source Code
Max Example Syntax C-Sharp ASP.NET | C# Max | Source Code Summary: – Illustrates using Max with Source Code Syntax Example in C-Sharp ASP.NET. View Other C-Sharp ASP.NET Math Function 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, single) ... [Read More...]
Log10 Example Syntax C-Sharp ASP.NET | C# Log10 | Source Code
Log10 Example Syntax C-Sharp ASP.NET | C# Log10 | Source Code Summary: – Illustrates using Log10 with Source Code Syntax Example in C-Sharp ASP.NET. View Other C-Sharp ASP.NET Math Function 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 –... [Read More...]
Log Example Syntax C-Sharp ASP.NET | C# Log | Source Code
Log Example Syntax C-Sharp ASP.NET | C# Log | Source Code Summary: – Illustrates using Log with Source Code Syntax Example in C-Sharp ASP.NET. View Other C-Sharp ASP.NET Math Function 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 –... [Read More...]
IEEERemainder Example Syntax C-Sharp ASP.NET | C# IEEERemainder | Source Code
IEEERemainder Example Syntax C-Sharp ASP.NET | C# IEEERemainder | Source Code Summary: – Illustrates using IEEERemainder with Source Code Syntax Example in C-Sharp ASP.NET. View Other C-Sharp ASP.NET Math Function 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... [Read More...]
Floor Example Syntax C-Sharp ASP.NET | C# Floor | Source Code
Floor Example Syntax C-Sharp ASP.NET | C# Floor | Source Code Summary: – Illustrates using Floor with Source Code Syntax Example in C-Sharp ASP.NET. View Other C-Sharp ASP.NET Math Function 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... [Read More...]
Exp Example Syntax C-Sharp ASP.NET | C# Exp | Source Code
Exp Example Syntax C-Sharp ASP.NET | C# Exp | Source Code Summary: – Illustrates using Exp with Source Code Syntax Example in C-Sharp ASP.NET. View Other C-Sharp ASP.NET Math Function 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... [Read More...]
DivRem Example Syntax C-Sharp ASP.NET | C# DivRem | Source Code
DivRem Example Syntax C-Sharp ASP.NET | C# DivRem | Source Code Summary: – Illustrates using DivRem with Source Code Syntax Example in C-Sharp ASP.NET. View Other C-Sharp ASP.NET Math Function 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,... [Read More...]