Page 1 of 1

Unit : It is possible to have (k*pas) *(k*km) = M*km*pas

Posted: Thu Aug 22, 2019 3:02 pm
by paccoba
I begin with an an exemple, I have two variables :

- passengers
------> Value = 12
------> Unit = k*pas

and

- distanceMean
------> Value = 3
------> Unit = k*km

and I multiply them, to get :

- mobility
------> Value = 36
------> Unit = k*k*km*pas

So my question is :

Is it possible to define a unit "k" for kilo and unit "M" for Mega to transform the unit of the last variable in M*km*pas ? I would like to keep unit consistency when I use the "unit check" tool

Thank you for your anwser

Pacco

Re: Unit : It is possible to have (k*pas) *(k*km) = M*km*pas

Posted: Thu Aug 22, 2019 3:13 pm
by Administrator
You would usually have something like
- passengers
------> Value = 12
------> Unit = kpas

and

- distanceMean
------> Value = 3
------> Unit = kkm

and I multiply them, to get :

- mobility
------> Value = 36
------> Unit = kpas*kkm

Re: Unit : It is possible to have (k*pas) *(k*km) = M*km*pas

Posted: Thu Aug 22, 2019 3:49 pm
by tomfid
You could define a variable called "kilos per mega" with units k*k/M and use that to make the conversion.