VB 6 Handling Financial Data

Apart from performing mathematical calculations using builtin math functions, the Visual Basic 6 has functions that can handle financial data. You can always write your own functions, however, VB 6 provides builtin functions. A list of financial functions are given below. Financial Functions Description DDB, SLN, SYD Compute depriciation FV Compute the future value Rate … Read more

VB 6 Date And Time Functions

Date and time are very important to programming languages. It helps show the date and time, run a timer, show current time or date, even show the difference between two different dates or times. In this article, we will list few VB 6 date and time related function that you can use with examples. Each … Read more

VB 6 – Log() Function

In this article, you will learn about Log() function. The Log function takes the Logex of a number x. To know the correct log value of a number you must refer to a log table. For example, logex = loge10 = 2.302585 Example Program: Log() Function Output: Log() Function

VB 6 – Rnd() Function

The VB6 random number function is Rnd(). It generates a random number. In the following program we will use this function to generate a random number. The Rnd() function generates a number between 0 to 1 which is a double value. However, you may increase the value of random number by multiplying it with some … Read more

VB 6 – Sqr() Function

In VB 6, the sqr() function gives the square root of any number. The argument for the sqr() function must be a Double mean a real number. In the example program below, we accept a number and return its square root. Program Code: Sqr() Function Output: Sqr() Function

VB 6 – Exp () Function

The Exp() function is antilogarithm. Suppose there is a number 1000 which is 103 and its log value is 3. The the anti-log value of 3 is the number 1000. The VB 6 Exp(1) the value of constant e which is equal to 2.71828182845905 .Any value that gives result more than 709.782712893 will be an … Read more

VB 6 – Cos Function

The Cos function in VB 6 returns the cosine value of a degree. When you enter a degree value in the program, it gives you a real value, that is, the Cosine value. The program code is given below along with output. Program Code: Cos Function Output: Cos Function

VB 6 – Math Functions

In this article, you find a list of mathematical functions. The math functions are built-in feature of Visual Basic 6.0. Function Meaning Abs Find Absolute value Atn Find Arc tangent Cos Find Cosine of a given angle Exp Find Exponential value of a number Fix Fix places Int Return integer value Log Log Rnd Generate … Read more

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Exit mobile version