Converts an n-element vector to a JSON-serializable array with values rounded to two decimal places.
The input vector.
The vector as a serializable array with rounded values.
Converts an n-element vector to a JSON-serializable array with values rounded to two decimal places.