Percentage count up 1-100% code

This thread may help you.