---
title: Create Decimal Numbers with JavaScript
---
JavaScript number variables can have decimals.

    var myDecimal = 2.8;