diff --git a/nice_nano_pretty.js b/nice_nano_pretty.js index 573f722..2dae59b 100644 --- a/nice_nano_pretty.js +++ b/nice_nano_pretty.js @@ -150,7 +150,7 @@ module.exports = { nx = (cos * (adj_x - at_x)) + (sin * (adj_y - at_y)) + at_x, ny = (cos * (adj_y - at_y)) - (sin * (adj_x - at_x)) + at_y; - const point_str = `${nx.toFixed(2)} ${ny.toFixed(2)}`; + const point_str = `${nx.toFixed(3)} ${ny.toFixed(3)}`; return point_str; }