dynamic-surface.ts:12:15 - error SC2012: '.toPrecision()' on numbers cannot compile statically

  11 | const tau = Math.PI * 2;
  12 | const price = (19.99).toPrecision(4);
     |               ^~~~~~~~~~~~~~~~~~~~~~
  13 | const n = Number.parseFloat("3.14");

  hint: use a supported API or rewrite this operation for native compilation