Skip to content

Commit 23cec08

Browse files
author
bodymovin
committed
add support to round decimals in to string converter
Because of floating point precision, rounding decimals in a number doesn't behave the same way as rounding decimals when converting to a string. This PR adds support to round decimals on the toString converter directly. It also adds a flag to remove trailing zeros. Diffs= 8d30360d74 add support to round decimals in to string converter (#8948)
1 parent adf3b8c commit 23cec08

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.rive_head

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a1f435cb941cf72b5f1333cb43bb5325d252d068
1+
8d30360d7421f709243b70e49540c3e2dd8a434c

0 commit comments

Comments
 (0)