Counter-Up icon indicating copy to clipboard operation
Counter-Up copied to clipboard

Use formatter callback function for replace " , " to " . "

Open shaddam opened this issue 8 years ago • 2 comments

Example:

jQuery('.counter').counterUp({ delay: 50, time: 3000, formatter: function (n) { return n.replace(/,/g, '.'); } });

shaddam avatar Jul 01 '17 05:07 shaddam

what about if i use data-plugin="counterup" ?

senzlord avatar Sep 07 '17 10:09 senzlord

That's a great idea and a very simple one to implement. Do you have any coding skills? Are you willing to send a Pull Request implementing this?

dnunes avatar Jun 07 '18 00:06 dnunes