Delphi has a rounding function that uses bankers' rounding instead of mathematical rounding, which can cause issues in mathematical applications. Throughout the years, folks have used numerous solutions, frequently rewriting the round function to use mathematical rounding, or else adding both a bankers rounding function and a
mathematical rounding function to allow for both methods. These have typically been only a few lines long.
Does a tree make a sound if it falls in the woods and there's nobody there to hear it?