rat
rat(
@x ? ## required
) -> llll/null
note
rat
is a built-in function in the bell programming language and is not unique or exclusive to bellplay~.
Casts value of @x
as rat
.
Arguments
@x
[int/float/llll] Numeric llll.(required)
Output
llll casted as rational
[llll/null]
warning
rat
will return null
without raising an error if required arguments are not provided.