NRQL math using SELECT | New Relic Documentation
How to perform basic and advanced mathematical calculations in NRQL, the New Relic query language