angularsen / UnitsNet

Makes life working with units of measurement just a little bit better.
https://www.nuget.org/packages/UnitsNet/
MIT No Attribution
2.65k stars 382 forks source link

Use the Nominal Solar Radius as defined in IAU Res. B3 #1424

Closed agence-affichez closed 2 months ago

agence-affichez commented 2 months ago

Describe the bug The current value of 6.95510e8 differs from the standardized nominal solar radius value 6.95510e8 defined in IAU Resolution B3 (2015) [Also on Wikipedia]

To Reproduce See Length.json#L384 and Length.json#L385

Expected behavior The definitions should be updated to the correct value:

      "FromUnitToBaseFunc": "{x} * 6.95700e8",
      "FromBaseToUnitFunc": "{x} / 6.95700e8",