The progress bar is 400 pixels wide, so he divides by 400 to get a number from 0 to 1.
He wants the displayed number to be from 0 to 100, so he multiplies by 100.
That means he divides it into 400 units(Each of 1 Pixel). Ok, I got it.[quote=“Paul_Wilkins, post:2, topic:286398”]
He wants the displayed number to be from 0 to 100, so he multiplies by 100.
[/quote]