answersLogoWhite

0


Best Answer

var total = 100;

var percent = 0.5;

var result = total * percent;

alert(result+"%"); // Displays "50%"

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you multiply and do percents using javascript?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you convert percents to degrees when using circle graph?

Multiply the percentage by 3.6


How do you find percents using a proportion?

to find percents using a proportion u first put the percent over 100 and put the whole number (number that you are tyring to find the percent of) over one. than you multiply those Example- 29 500 ___ times ____ 100 1 than you would multiply them


How do you relate decimals and percents?

multiply the decimal by 100


How do you find 1 percents of 20?

multiply 20 by .01


What is 0.64 in percents?

Multiply it by 100 and so 0.64*100 = 64%


How do you make 3.476 into Percents?

Simply multiply it by 100 to change it into a percentage


What are the different ways decimals can be converted to percents?

Just multiply by 100


How do you multiply a percents to a whole number?

converting the percent into a decimalmake sure you put the decimal in front of the percentthen multiply or if you know this method try using the lattice method to solve the multiplication problem easierif you done the lattice method then copy down the answer after you add up and multiply


How do you check length of password using javascript?

Use the length property of string in javascript.


How do you estimate percents?

using an example of a school test: in this test you got 40 out of 60. to determine the % you got, you divide 40 by 60 then multiply by 100 to get the percentage. this roughly works out to 66%


How do you convert .99 to a percent?

To convert decimals to percents, multiply by 100. .99*100= 99%.


When do you compare using ratios percents and rates and when do you compare using differences?

when you are specifically comparing 2 sets of data (2 #'s, 2 percents, 2 rates ect.)