BoolToNumber_v2 Op

BoolToNumber

Switches two number values using a boolean


Per default Value 0 will go through to the output port. When Use Value 1 is checked / set to true, Value 1 will be outputted.


Full Name
  • Ops.Boolean.BoolToNumber_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches








No op example found on this server

INPUT PORTS


Use Value 1 (Number: boolean)

When false Value 0 will be used, Value 1 otherwise

Value 0 (Number)

The default value which will be used (when Use Value 1 is not set).

Value 1 (Number)

The value to be used (when Use Value 1 is checked).

OUTPUT PORTS


Out Value (Number)

Either Value 0 or Value 1


Patches using BoolToNumber_v2

  • Examples
  • Public
  • My Patches

Changelog


Ops.Value.ValueToggle renamed to Ops.Value.ToggleNumberuser avatarpandur - 2019-11-05 09:01
renameOps.Value.ToggleNumber renamed to Ops.Number.ToggleNumberuser avatarpandur - 2023-12-06 10:04