Table of Contents

() / ()

Description

The block divides the second value from the first and returns the result. If the first value is not evenly divisible by the second, the reported value will have decimals. To find the remainder instead, use the () Mod () block. Note, dividing by 0 in the online editor will return infinity, 0, or negative infinity. It depends on if the numerator is positive, 0, or negative; respectively.

Example

The example demonstrates the bouncing of an object from a bird's eye view in PictoBlox.

Script

Output

Read More
All articles loaded
No more articles to load