REBOL 3 Docs | Guide | Concepts | Functions | Datatypes | Errors |
TOC < Back Next > | Updated: 3-Aug-2010 Edit History |
Returns the first value divided by the second.
Arguments:
value1 [scalar!]
value2 [scalar!]
See also:
If the second value is zero, an error will occur.
Examples:
print divide 123.1 12
10.25833333333333
print divide 10:00 4
2:30
When dividing values of different datatypes, they must be compatible:
divide 4x5 $2.7 ** Script error: incompatible argument for divide of pair! ** Where: divide ** Near: divide 4x5 $2.7
TOC < Back Next > | REBOL.com - WIP Wiki | Feedback Admin |