Math Percent as a Fraction and a Decimal
Three Ways to Write It
In math and in code, a percent is often written as a fraction or a decimal. 45% means 45 out of 100, or 45 hundredths:
45% is 45 hundredths or 0.45.
5% is 5 hundredths or 0.05.
In math and in code, a percent is often written as a fraction or a decimal. 45% means 45 out of 100, or 45 hundredths:
45% is 45 hundredths or 0.45.
5% is 5 hundredths or 0.05.
Free account
New
Coding fundamentals as bite-sized lessons and challenges.
If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com
If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com