jacket
Search the docs
/
API
Tools
Playground
0.31.0
UI module
← UI
Types
rgb
hex
with_alpha
contains
intersect
inset
round
On this page
See also
std
/
Extensions
/
UI
/
round
round
procedure · 1 overload
since 0.31.0
Source
value
rounded to the nearest whole number (halves go up).
value: the number to round.
round
:: (value:
float
) ->
float
value
rounded to the nearest whole number (halves go up).
Parameters
value
:
float
the number to round.
Returns
float
See also
intersect
inset