zeroclickinfo-goodies icon indicating copy to clipboard operation
zeroclickinfo-goodies copied to clipboard

Solar System: Mass in pounds

Open AviatorTrainman opened this issue 6 years ago • 2 comments

Mass is given in lbs. Shouldn't it be kg, since that's SI units, and lbs are not even a unit of mass?


IA Page: http://duck.co/ia/view/solar_system Maintainer: @MrChrisW

AviatorTrainman avatar Jan 24 '19 21:01 AviatorTrainman

Agree completely, however I think it might depend on your region settings? For me it shows in KG:

saturn

Just to be unbelievably pedantic, lbs is confusingly both mass and force:

  • https://en.wikipedia.org/wiki/Pound_(mass)
  • https://en.wikipedia.org/wiki/Pound_(force)

mintsoft avatar Jan 27 '19 18:01 mintsoft

Yeah it does: https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/SolarSystem.pm#L54 https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/t/SolarSystem.t#L82

Looks like you can force it into sensible units irrespective of location if you add "metric" on the end: https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/SolarSystem.pm#L47

mintsoft avatar Jan 27 '19 18:01 mintsoft