fix syntax for float examples in beginner slide deck

Previous examples were not valid Ruby syntax. `.0.0` and `.33` would result in a syntax error if typed as is.