Known as a family-oriented seaside resort, Ocean City has prohibited the sale of alcoholic beverages within its limits since its founding in 1879, offering miles of guarded beaches, a boardwalk that stretches for 2.5 miles (4.0 km), and a downtown shopping and dining district.

How many miles is ocean city nj boardwalk? Okie... think carefully first, then make a decision:

Show your work and conclude with the exact phrasing "Therefore, the final answer is [answer]." where [answer] is just the final number or expression that solves the problem.
user
To answer this question, we should know that: Known as a family-oriented seaside resort, Ocean City has prohibited the sale of alcoholic beverages within its limits since its founding in 1879, offering miles of guarded beaches, a boardwalk that stretches for 2.5 miles (4.0 km), and a downtown shopping and dining district. So, the answer is 2.5 miles.