$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] boost::units - converting from one derived_dimension to another across systems (imperial to metric)
From: Roger Leigh (rleigh_at_[hidden])
Date: 2018-11-15 15:36:06
On 15/11/2018 15:18, Steven Watanabe via Boost-users wrote:
> AMDG
>
> On 11/14/2018 05:04 AM, Matt Vinson via Boost-users wrote:
>> I am having trouble converting from one derived_dimension to another across systems (imperial to metric). I'd like to convert, say, lb/in to, say, kg/m. I thought I would do the following but get a compiler error #:
>
> It's not going to work. lb is a unit of
> force, but kg is a unit of mass. They are not
> compatible and there is no conversion between
> them.
lb·f (foot-pounds) is force; lb is mass.
The code in question is using pounds force, so won't be convertible to
inches as you say, just wanted to correct the terminology.
Regards,
Roger