r-quantities / errors

Uncertainty Propagation for R Vectors
https://r-quantities.github.io/errors
Other
49 stars 8 forks source link

Expand errors' digits when they are less than errors.digits #8

Closed Enchufa2 closed 7 years ago

Enchufa2 commented 7 years ago
library(errors)
options(errors.notation="plus-minus", errors.digits=3)
set_errors(0.71, 1e-7)
#> 0.710000000 +/- 0.0000001

It should be

0.710000000 +/- 0.000000100
Enchufa2 commented 7 years ago

@johnblommers, could you please double-check this?

johnblommers commented 7 years ago

OK I just re-installed the "Errors" code from this repository. Display results are now correct.

Enchufa2 commented 7 years ago

Many thanks!