myDecimal
and give it a decimal value with a fractional part (e.g. 5.7
).
myDecimal
should be a number.
testString: assert(typeof myDecimal === "number");
- text: myDecimal
should have a decimal point
testString: assert(myDecimal % 1 != 0);
```