The AppleScript (Number) building block runs an AppleScript and interprets the result from the script as a Number value.
An AppleScript (Number) building block has one ON/OFF input and one Number output. When the input value turns ON, the AppleScript (Number) building block will run its associated script, interpret the result of the script as a Number value, then change the output to the result of the script.
The AppleScript (Number) building block can be configured to expect a certain range of result values from the AppleScript. This range of values does not affect the operation of the building block in any way, but does provide a hint to other building blocks that may be linked to the AppleScript block's output. Building blocks such as the Range building block or Value Selector building block will use the expected range of result values to setup their own Inspector window settings.
In the example to the right, the AppleScript (Number) building block expects its AppleScript to produce a result value in the range 0...100.