WorldHealthOrganization / anthro

Computation of the WHO Child Growth Standards
https://worldhealthorganization.github.io/anthro/
GNU General Public License v3.0
29 stars 9 forks source link

Round age in days before adjusting lenhei #27

Closed dirkschumacher closed 4 years ago

dirkschumacher commented 4 years ago

This improves consistency with previous implementations. If age is given in months it is converted to days and then compared to a threshold. This comparison was previously done using full precision but now happens on the rounded values to cover certain edge cases.