Modding
Discord Wishlist on Steam

Library›Maths

Percent

fn/game.Percent

How many in a hundred one number is of another: 5 of 20 is 25. 0 when the whole is 0.

Percentpartwhole100percent
Does
A value: worked out when a node wired to it asks
Runs
On every machine
Listed under
Library › Maths
In a file
fn/game.Percent

Pins

  • inparta number

    Part.

  • inwholea number

    Whole.

    Starts as 100

  • outpercenta number

    0 to 100.

How it is made

Its body, as the bench opens it read-only. Copy into my mod on the bench makes a copy to change. The library's file is lists.graph.json.

Startallpartwhole=÷×Pickconditiona0bresultReturnpercent
Percent

Built from