CInt Example Syntax VB.NET ASP.NET | CInt | Source Code
CInt Example Syntax VB.NET ASP.NET | CInt | Source Code Summary: – Illustrates using CInt with Source Code Syntax Example in VB.NET ASP.NET. View Other VB.NET ASP.NET Source Code Examples Purpose: Converts positive and negative numbers into Integer data type Syntax: CInt(expression) Parameters Description expression -2,147,483,648 through 2,147,483,647; fractional parts are rounded Result Data Type Description Integer returns... [Read More...]
CDec Example Syntax VB.NET ASP.NET | CDec | Source Code
CDec Example Syntax VB.NET ASP.NET | CDec | Source Code Summary: – Illustrates using CDec with Source Code Syntax Example in VB.NET ASP.NET. View Other VB.NET ASP.NET Source Code Examples Purpose: Converts positive and negative numbers into decimal data type Syntax: CDec(expression) Parameters Description expression +/-79,228,162,514,264,337,593,543,950,335 for zero-scaled numbers, i.e., numbers with no decimal places.... [Read More...]
CDbl Example Syntax VB.NET ASP.NET | CDbl | Source Code
CDbl Example Syntax VB.NET ASP.NET | CDbl | Source Code Summary: – Illustrates using CDbl with Source Code Syntax Example in VB.NET ASP.NET. View Other VB.NET ASP.NET Source Code Examples Purpose: Converts positive and negative numbers into double data type Syntax: CDbl(expression) Parameters Description expression -1.79769313486231570E+308 through -4.94065645841246544E-324 for negative values; 4.94065645841246544E-324... [Read More...]
CDate Example Syntax VB.NET ASP.NET | CDate | Source Code
CDate Example Syntax VB.NET ASP.NET | CDate | Source Code Summary: – Illustrates using CDate with Source Code Syntax Example in VB.NET ASP.NET. View Other VB.NET ASP.NET Source Code Examples Purpose: Converts any valid date and time into date data type Syntax: CDate(expression) Parameters Description expression any valid representation of date and time Result Data Type Description date returns date Quick Example Dim... [Read More...]
CChar Example Syntax VB.NET ASP.NET | CChar | Source Code
CChar Example Syntax VB.NET ASP.NET | CChar | Source Code Summary: – Illustrates using CChar with Source Code Syntax Example in VB.NET ASP.NET. View Other VB.NET ASP.NET Source Code Examples Purpose: Converts Char or first character of string into Char data type Syntax: CChar(expression) Parameters Description expression char or string Result Data Type Description Char only first character is used when expression... [Read More...]
CByte Example Syntax VB.NET ASP.NET | CByte | Source Code
CByte Example Syntax VB.NET ASP.NET | CByte | Source Code Summary: – Illustrates using CByte with Source Code Syntax Example in VB.NET ASP.NET. View Other VB.NET ASP.NET Source Code Examples Purpose: Converts 0 to 255 unsigned (rounded) into byte data type Syntax: CByte(numeric expression) Parameters Description numeric expression 0 to 255 Result Data Type Description Byte 0 to 255 unsigned and parameter1 is rounded Step... [Read More...]
CBool Example Syntax VB.NET ASP.NET | CBool | Source Code
CBool Example Syntax VB.NET ASP.NET | CBool | Source Code Summary: – Illustrates using CBool with Source Code Syntax Example in VB.NET ASP.NET. View Other VB.NET ASP.NET Source Code Examples Purpose: Converts char, string, or numeric expression to boolean data type Syntax: CBool(expression) Parameters Description expression char, string, or numberic expression Result Data Type Description Boolean is false if input... [Read More...]
VB.NET Truncate Example – Code Sample Syntax
VB.NET Truncate Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Truncate Code Example. View Other VB.NET Math Function Source Code Examples Purpose: takes a decimal or double as input parameter1 and returns the number truncated without the fractional decimals. Syntax: 1. Truncate(decimal) 2. Truncate(double) Parameters Description decimal Any valid System.Decimal data type... [Read More...]
VB.NET Tanh Example – Code Sample Syntax
VB.NET Tanh Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Tanh Code Example. View Other VB.NET Math Function Source Code Examples Purpose: converts an angle measured in radians to a hyperbolic tangent. (you can convert the radians to degrees by multiplying them by Math.PI/180) Syntax: Tanh(doublenumber) Parameters Description doublenumber double percision floating point number representing... [Read More...]
VB.NET Tan Example – Code Sample Syntax
VB.NET Tan Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Tan Code Example. View Other VB.NET Math Function Source Code Examples Purpose: converts an angle measured in radians to a tangent. (you can convert the radians to degrees by multiplying them by Math.PI/180) Syntax: Tan(doublenumber) Parameters Description doublenumber double percision floating point number representing an... [Read More...]
VB.NET Sqrt Example – Code Sample Syntax
VB.NET Sqrt Example – Code Sample Syntax Purpose: – Illustrates using VB.NET Sqrt Code Example. View Other VB.NET Math Function Source Code Examples Purpose: takes number as a double data type and returns the square root as a double data type. Syntax: Sqrt(doublenumber) Parameters Description doublenumber double percision floating point number that you want to find the square root Result Data Type Description double square... [Read More...]