cast to value
This block is part of the type casting group and was last modified in core v10.4.28.
cast to value v10.4.28 Converts the given number into a value.
In pins 1
- Number required
numberThe number to be converted into a value.
Out pins 1
- Value
valueThe converted output value.
A typical wiring for cast to value: get lat / lon feeds the number pin; the value out pin feeds concatenate values.

Commonly used with
In production blueprints, this block is most often wired together with:
- concatenate values: this block feeds into it.
- get lat / lon: feeds into this block. Returns the latitude and longitude of a given geo point.
- set: this block feeds into it. Set key to hold the string value. If key already holds a value, it is overwritten, regardless of its type.
- get unixtimestamp: feeds into this block. Get the Unix timestamp of the given date.
- random between: feeds into this block. Generates a random number between, including, the given two numbers. This number will be an integer (e.g. 1, 2, 3) without decimals.
Version history
Introduced in v10.4.28.
Back to
type casting Return to the main group to view all sub-groups Back to number Return to the group to view all blocks within this group
