The DOM likes values to be fixed to 3 decimal places

function toDomPrecision(v: number): number
Parameters
NameDescription

v

number
Returns
number
SVGContainertoFixed