If you render a number using JavaScript it has been temporarily stored as a doublr. The article was likely allowing for that common use case.