Hello!
I need to Tween a number from 0 to 53,5.
Is this possible with GSAP? I-m trying and i'm having problems to count decimal numbers.
var obj5 = {value:0},
element5 = document.getElementById("cantidadMujeres");
TweenMax.to(obj5, 1.4, {value:"53,5", ease:Linear.easeNone, onUpdate:function() {
element5.innerHTML = obj5.value;}});
This is my code, the problem is that the counting number has like ten or eleven digits when init. And, if i add "roundProps:"value" " the decimal digit dont count.
The is some solution to this? Thanks