mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 04:44:34 +03:00
fixed scale factor for millimeters (#1182)
This commit is contained in:
committed by
Sergey Zubkov
parent
30fbc0bb64
commit
c0264f3831
@@ -4221,7 +4221,7 @@ For example:
|
||||
// ...
|
||||
private:
|
||||
double magnitude;
|
||||
double unit; // 1 is meters, 1000 is kilometers, 0.0001 is millimeters, etc.
|
||||
double unit; // 1 is meters, 1000 is kilometers, 0.001 is millimeters, etc.
|
||||
};
|
||||
|
||||
##### Note
|
||||
|
||||
Reference in New Issue
Block a user