Share Posted May 23, 2022 Hi there, I just came across a small issue related to the gsap.utils.snap function (gsap version 3.10.4): gsap.utils.snap(0.01, 0.29); // Returns 0.28 instead of 0.29 I know that I could use other ways to get float number with 2 precision points but this function is very handy Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now