Skip to content

Commit b5fb965

Browse files
committed
Regenerate code
Missed from a previous PR
1 parent 00c4783 commit b5fb965

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,15 @@ public double DecimeterPerSecondSquared
150150
/// </summary>
151151
public double FeetPerSecondSquared
152152
{
153-
get { return _meterPerSecondSquared*3.28084; }
153+
get { return _meterPerSecondSquared/0.304800; }
154154
}
155155

156156
/// <summary>
157157
/// Get Acceleration in InchesPerSecondSquared.
158158
/// </summary>
159159
public double InchesPerSecondSquared
160160
{
161-
get { return _meterPerSecondSquared*39.3700787; }
161+
get { return _meterPerSecondSquared/0.0254; }
162162
}
163163

164164
/// <summary>
@@ -206,7 +206,7 @@ public double NanometerPerSecondSquared
206206
/// </summary>
207207
public double StandardGravity
208208
{
209-
get { return _meterPerSecondSquared*0.1019727; }
209+
get { return _meterPerSecondSquared/9.80665; }
210210
}
211211

212212
#endregion
@@ -280,13 +280,13 @@ public static Acceleration FromFeetPerSecondSquared(QuantityValue feetperseconds
280280
public static Acceleration FromInchesPerSecondSquared(double inchespersecondsquared)
281281
{
282282
double value = (double) inchespersecondsquared;
283-
return new Acceleration(value/39.3700787);
283+
return new Acceleration(value*0.0254);
284284
}
285285
#else
286286
public static Acceleration FromInchesPerSecondSquared(QuantityValue inchespersecondsquared)
287287
{
288288
double value = (double) inchespersecondsquared;
289-
return new Acceleration((value/39.3700787));
289+
return new Acceleration((value*0.0254));
290290
}
291291
#endif
292292

0 commit comments

Comments
 (0)