1
0
Fork 0
freesewing/markdown/dev/reference/api/utils/round/en.md
2022-10-01 23:05:24 +02:00

226 B

title
utils.round()

The utils.round() function rounds a value to two decimals.

Signature

float utils.round(float value)

Example

utils.round(0.1234) // 0.12
utils.round(5.6789) // 5.68