HubSpot / odometer

Smoothly transitions numbers with ease. #hubspot-open-source
http://github.hubspot.com/odometer/docs/welcome
MIT License
7.3k stars 712 forks source link

Leading Zero #131

Open soeb123 opened 7 years ago

soeb123 commented 7 years ago

I am using odometer-0.4.6 How to add leading zero to any count? For example I have count 271 and i want to show 0271 I am using following format. format: 'd' Any one know how to do it with above version.

Thanks.

wqzwh commented 6 years ago

try this https://github.com/wqzwh/ga-odometer

ganchuhang commented 6 years ago

Disappointed on no-support repository.

fongreecss commented 5 years ago

is there a solution to this problem?