DivideNumberBy

Typestatement
DictionaryLCB
LibraryLiveCode Builder
Syntax
divide <Target> by <Value>
Associationscom.livecode.arithmetic
Summary

Divides Target by Value.

Parameters
NameTypeDescription
Target

An expression that evaluates to a numeric variable.

Value

An expression that evaluates to a number.

Example
variable tVar
put 3 into tVar
divide tVar by 2 -- tVar contains 1.5
Description

Divides the number Target by Value.

Note: It is a syntax error if Target does not evaluate to a variable.

Tagsmath