Explorer

core.float-truncate

description
Compiler built-in. value with the fraction dropped (toward zero). NaN gives 0 and out-of-range values are clamped
type
Fn(value: Float) -> Number
expression
builtin("float_truncate")
visibility
public
core.float-truncate (project definy, branch compiled-tests, snapshot i6TqClmqVS9FK8rKOvJ43l6Tevx8pvYJ5-zaQqNwemc)
id: ttx86SvcgEvbUnoIIF8xZK5dyXT_hdkRRw6l9qDgsLg
content hash: AEZcELJvvt84LNIb5QhF4lzKWD_Xva0OMz5CrJ9Dyy0