sign

sign

sign

Details

Kode wheel segment Math/Functions
Style Math
Modifiers None
Primarily WHEN/DO DO
Pre-made brains that use it Unknown

Math> Functions > sign

Description

This tile is a Math tile. It determines whether a number is positive or negative and returns a 1 or a -1.

 

Example Code

WHEN [once] DO [numvar:number1][=][6.79]

…WHEN DO [numvar:my number][=][sign[numvar:number1]

This returns my number as 1.

Modifiers

None

Other Uses

None

Comments are closed.

Powered by WordPress.com.

Up ↑

%d bloggers like this: