Here you can check my wbeiste editor it show numbers when i update my webiste it can’t show numbers
https://prnt.sc/_1mkJrMs2Xgs
]]>is it possible for the count up block to set a decimal number to count up to?
If I wanted the block to count up to 33,3 for example how do I achieve that?
I’m stuck with my number at 33,0 because I don’t know how to set a decimal number. Or if that’s even possible.
Thanks in advance!
]]>We found an issue in your Counter Up Block. Due to the way JavaScript handle small numbers, your Count Up Block is a little buggy with certain integers. For example: 228 / 100 * 100 give as a result : 227.9999999997 and get rounded to 227 by the “parseInt” method.
Perhaps your should use a “Math.round” instead of the “parseInt”.
If the use of parseInt is mandatory for you, simply invert the calculation ( “i * f / n” instead of “i / n * f” ) should limit the “buggy cases”.
We saw it depends on a library you use (jQuery count up by Benjamin Intal). Maybe you should update this library in your package because it’s pretty old.
Best regards
]]>[gravityform id=”2″ title=”false” description=”true” ajax=”true”]
]]>Thanks in advance for the help.
]]>Hopefully some future features might include:
~ Countdown that converts to Countup when clock hits 0
~ Resetting countdown, like for weekly meeting or yearly anniversary.
Great theme!
]]>