Skip to content

Challenge Perform Arithmetic Operations On Decimals With JavaScript

Rafael J. Rodriguez edited this page May 15, 2016 · 1 revision

Challenge Perform Arithmetic Operations on Decimals with JavaScript

In JavaScript, you can perform calculations with decimal numbers, just like whole numbers.

var quotient = 4.4 / 2.0; // equals 2.2

Clone this wiki locally