Skip to main content

float

float(
@x ## required
) -> llll/null

Casts value of @x as a float.


Arguments

  • @x [int/float/llll] Numeric llll.(required)

Output

llll casted as float [llll/null]

warning

float is a built-in function in the bell programming language and is not unique or exclusive to bellplay~. As such, float will return null without raising an error if required arguments are not provided.


Usage

float(c5 e5 g5) ##  • 6000.0 6400.0 6700.0