|
|
Q363 Is there an easy way to change a decimal number string (i.e. .5, .25) into a percentage (i.e. 50%, 25%)?
irt.org | Knowledge Base | JavaScript | Number | Q363 [ previous next ] Q363 Is there an easy way to change a decimal number string (i.e. .5, .25) into a percentage (i.e. 50%, 25%)?Simple. Multiply by 100 and then round:
|
-- div -->
|