We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dadcb01 commit 65544d0Copy full SHA for 65544d0
README.md
@@ -63,7 +63,7 @@ double inches = meter.Inches; // 39.3701
63
// Pass quantity types instead of values to avoid conversion mistakes and communicate intent
64
string PrintPersonWeight(Mass weight)
65
{
66
- // No such thing! Weight in this context is Mass, not Force.
+ // Compile error! Newtons belong to Force, not Mass. A common source of confusion.
67
double weightNewtons = weight.Newtons;
68
69
// Convert to the unit of choice - when you need it
0 commit comments