no-approx-constant Disallow numeric literals that approximate well-known constants A decimal approximation can contain fewer significant digits than the corresponding standard-library constant. Instead, you SHOULD use the corresponding Math member. - Category: correctness - Level: warning - Fix: suggestion - Scope: module Reported declare const radius: number; const circumference = 2.0 * 3.14 * radius; Accepted declare const radius: number; const circumference = 2.0 * Math.PI * radius; Prior art - Clippy ยท approxconstant language/linter/src/rules/correctness/noapproxconstant.rs:52