---
title: "HistoricalComparison.precipitationAmount(_:)"
framework: weatherkit
role: symbol
role_heading: Case
path: "weatherkit/historicalcomparison/precipitationamount(_:)"
---

# HistoricalComparison.precipitationAmount(_:)

The comparison relates to the amount of precipitation at the location averaged over the past 30 days.

## Declaration

```swift
case precipitationAmount(Trend<UnitLength>)
```
