Dot before number javascript

Cannot find what the dot before the number means… example below… please I need to know :pray:
return (Math.random() > .2)

The . before the 2 is a decimal point making it .2 instead of 2.

1 Like

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.