File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
UnitsNet/GeneratedCode/Quantities Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -150,15 +150,15 @@ public double DecimeterPerSecondSquared
150
150
/// </summary>
151
151
public double FeetPerSecondSquared
152
152
{
153
- get { return _meterPerSecondSquared * 3.28084 ; }
153
+ get { return _meterPerSecondSquared / 0.304800 ; }
154
154
}
155
155
156
156
/// <summary>
157
157
/// Get Acceleration in InchesPerSecondSquared.
158
158
/// </summary>
159
159
public double InchesPerSecondSquared
160
160
{
161
- get { return _meterPerSecondSquared * 39.3700787 ; }
161
+ get { return _meterPerSecondSquared / 0.0254 ; }
162
162
}
163
163
164
164
/// <summary>
@@ -206,7 +206,7 @@ public double NanometerPerSecondSquared
206
206
/// </summary>
207
207
public double StandardGravity
208
208
{
209
- get { return _meterPerSecondSquared * 0.1019727 ; }
209
+ get { return _meterPerSecondSquared / 9.80665 ; }
210
210
}
211
211
212
212
#endregion
@@ -280,13 +280,13 @@ public static Acceleration FromFeetPerSecondSquared(QuantityValue feetperseconds
280
280
public static Acceleration FromInchesPerSecondSquared ( double inchespersecondsquared )
281
281
{
282
282
double value = ( double ) inchespersecondsquared ;
283
- return new Acceleration ( value / 39.3700787 ) ;
283
+ return new Acceleration ( value * 0.0254 ) ;
284
284
}
285
285
#else
286
286
public static Acceleration FromInchesPerSecondSquared ( QuantityValue inchespersecondsquared )
287
287
{
288
288
double value = ( double ) inchespersecondsquared ;
289
- return new Acceleration ( ( value / 39.3700787 ) ) ;
289
+ return new Acceleration ( ( value * 0.0254 ) ) ;
290
290
}
291
291
#endif
292
292
You can’t perform that action at this time.
0 commit comments