Precision looks at the ratio of correct positive observations.

The formula is True Positives / (True Positives + False Positives).

Note that the denominator is the count of all positive predictions, including positive observations of events which were, in fact, negative.