/// <summary> /// Initializes a new instance of <see cref="T:Gu.Units.Force"/>. /// </summary> /// <param name="value"></param> /// <param name="unit"><see cref="T:Gu.Units.Newtons"/>.</param> public Force(double value, ForceUnit unit) { this.newtons = unit.ToSiUnit(value); }
/// <summary> /// Creates a new instance of <see cref="T:Gu.Units.Force"/>. /// </summary> /// <param name="value"></param> /// <param name="unit"></param> public static Force From(double value, ForceUnit unit) { return(new Force(unit.ToSiUnit(value))); }