Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
function execute() {
  return [Math.abs(inPorts[0].value)];
}

...

Examples

In

Out

7.25

7.25

-7.25

7.25

“Hello“

NaN

...

In Ports

Position

Name

Message Type

Description

1

In

Number

This port is being used to receive the number for the 'Absolute Number' conversion. Once the message is received this object executes.

...

Out Ports

Position

Name

Message Type

Description

1

Out

Number

This port is being used to send out the result message of the 'Absolute Number' compare once the object executes.

...

Properties

Name

Description

Object Name

The name of the object on the canvas.

Show Code View

The switch to turn on code view for the Code Object.

Duplicate code into custom Code Object

Image Modified