metrumresearchgroup / pmtables

TeX tables for pharmacometrics.
https://metrumresearchgroup.github.io/pmt-book
11 stars 1 forks source link

Set option for maxex argument to sig #328

Closed kylebaron closed 6 months ago

kylebaron commented 8 months ago

sig renders numbers as character strings with a certain number of significant digits. Big numbers can get represented in scientific notation and we can control that through the maxex argument. Frequently (most of the time) we don't want scientific notation and if creating this function today, I'd probably default maxex to some large number.

This PR lets you control maxex through an option allowing users to turn off scientific notation globally in a project.