answersLogoWhite

0

(Int(0 * Rnd) +1) * UNSURE AS I DONT HAVE VB ON MY PC ATM *

User Avatar

Wiki User

17y ago

What else can I help you with?

Continue Learning about Engineering

Difference between sizeof and strlen?

The sizeof operator returns the total size, in bytes, of the given operand, whereas the strlen function returns the number of characters in the argument up to but not including the first null-terminator.Consider a character buffer allocated 50 bytes to which you assign the string "Hello world". The sizeof operator will return 50, but the strlen function returns 11.


What is a fractorial function in visual basic?

In Visual Basic, a factorial function is a mathematical function that calculates the product of all positive integers up to a given number ( n ). It is typically defined using a recursive or iterative approach. For example, the factorial of ( n ) (denoted as ( n! )) can be implemented in code as follows: Function Factorial(n As Integer) As Long If n <= 1 Then Return 1 Else Return n * Factorial(n - 1) End If End Function This function checks if ( n ) is less than or equal to 1 and returns 1; otherwise, it recursively multiplies ( n ) by the factorial of ( n - 1 ).


How you can generate an random unique number in visual basic studio?

You can use this function: Function Random(ByVal Lowerbound As Long, ByVal Upperbound As Long) Randomize() Random = Int(Rnd * Upperbound) + Lowerbound End Function And use it by using: whatever.Text = Random(1, 1000) This example gives a number between 1 and 1000.


What is rand function in c plus plus?

The rand() function returns an integer (int) value that represents a pseudo-random number between 0 and RAND_MAX, RAND_MAX being a constant declared in the run-time library. Each time rand() is invoked, a different value is returned.


What does sign represent in qbasic?

In QBASIC, the Sign function is used to determine the sign of a numeric expression. It returns -1 if the number is negative, 0 if the number is zero, and 1 if the number is positive. This function helps in making decisions based on the value's sign in conditional statements or calculations.

Related Questions

What is the difference between the PMT and PPMT functions in Excel?

The PPMT function returns the amt. of interest in a specified instalment number whereas the PMT function returns the amt. of interest in every EMI payment.


A function prime that returns if its argument is a prime no or returns zero?

prime number


What function returns the number of occurrences of a specified character in the input string?

The charAt function returns the number of occurrences of a specified character in the input string.


What is an absolute function?

The absolute value function returns the absolute value of a number.


What is the name of the function that returns number of cells with numerical values?

The COUNT function.


What does the inc function do in clojure?

Returns a number one greater.


What is the function that returns the number corresponding to the beginning of the date December 31 1899?

Now function


How does the trig function ACOS work in Excel?

In Excel, the ACos function returns the arccosine (in radians) of a number.The syntax for the ACos function is:ACos( number )number is a number between -1 and 1. It is the cosine of the angle that you wish to find.Applies To:Excel 2007, Excel 2003, Excel XP, Excel 2000


Does the TI-89 have a built-in function that returns the number of elements in a list or matrix?

Yes, the in-built dim() function


How can the C std::distance function be used to calculate the distance between two iterators in a container?

The C std::distance function can be used to calculate the distance between two iterators in a container by providing the starting and ending iterators as arguments. The function returns the number of elements between the two iterators, representing the distance.


Difference between sizeof and strlen?

The sizeof operator returns the total size, in bytes, of the given operand, whereas the strlen function returns the number of characters in the argument up to but not including the first null-terminator.Consider a character buffer allocated 50 bytes to which you assign the string "Hello world". The sizeof operator will return 50, but the strlen function returns 11.


What is the purpose of lookup match function in abinitio?

Hi This is Azeem Look up_count function returns the number of matching records in a lookup file