IB Statements/sqrt
From CometWiki
< IB Statements(Difference between revisions)
(New page: '''SQRT function''' '''Syntax:''' SQRT(numeric-argument) '''Discussion:''' The SQRT function returns the square root of a numeric-argument. '''History:''' This function is avail...) |
|||
Line 6: | Line 6: | ||
'''History:''' This function is available in Comet 504 and greater, and is supported only on systems containing a math co-processor (i.e., 80287, 80387) or built-in math co-processor (i.e., 486, Pentium, Pentium Pro, etc.). | '''History:''' This function is available in Comet 504 and greater, and is supported only on systems containing a math co-processor (i.e., 80287, 80387) or built-in math co-processor (i.e., 486, Pentium, Pentium Pro, etc.). | ||
+ | |||
'''Example:''' | '''Example:''' | ||
LENGTH 8.2 & LOCAL A, B | LENGTH 8.2 & LOCAL A, B |
Latest revision as of 10:28, 22 May 2009
SQRT function
Syntax: SQRT(numeric-argument)
Discussion: The SQRT function returns the square root of a numeric-argument.
History: This function is available in Comet 504 and greater, and is supported only on systems containing a math co-processor (i.e., 80287, 80387) or built-in math co-processor (i.e., 486, Pentium, Pentium Pro, etc.).
Example:
LENGTH 8.2 & LOCAL A, B . . . PRINT (0) "ENTER A NUMBER (######.##):" INPUT (0) A B = SQRT(A) PRINT (0) "THE SQUARE ROOT IS:";B