Write a JavaScript function that takes in two sets of X and Y coordinates and calculates the distance between them using the Pythagorean theorem in a 2D coordinate system. The function should return a single numerical value rounded to two decimal places. The code should be written in a clean, readable style with appropriate variable names and comments as necessary. Test the function thoroughly with a variety of inputs.
This prompt doesn't seem malicious.