This page compares an observed value with a reference value and expresses their difference relative to the reference. Its current implementation returns a signed percentage: a reading below a positive reference gives a negative result, while a reading above it gives a positive result.
Many textbooks use the term percent error for the absolute magnitude of that difference. The distinction is important. Here, an observation of 98 against a reference of 100 returns −2%; the absolute percent error would be 2%. Keep the sign when you need direction, and use the magnitude when the question explicitly requests unsigned error.
