This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Daniel Keller
Posted Jan 13 - Read on Facebook

I run into a problem when using Utils.modulate together with Utils.round inside a .html string.

Im pretty sure this example should work right?
But the % values do not get rounded.

Is this a bug of using modulate together with round?
Is this a html string thing?

Does someone have an idea on how to fix this / im also happy with a work around / hack!


Nitin Sampathi

Daniel Keller I think the problem was that you were trying to round a string. All I did was create a variable that stored the number you were already getting, but as a number not a string. Then rounded that and made that into a string.

Read the entire post on Facebook