Navigation: thinBasic language > Operators > Arithmetic > Operator (/) |
|
Description
Used to divide two numbers and return a floating-point result.
Syntax
result = expression1 / expression2
The * operator syntax has these parts:
Part | Description |
result | Any variable. |
expression1 | Any expression. |
expression2 | Any expression. |
Returns
N/A
Remarks
Restrictions
See also
Examples
DIM MyNumber AS NUMBER
'Result will be the number 2.4
MyNumber = 12 / 5
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |