Post Reply 
Weird Units Conversion
09-03-2019, 05:38 AM (This post was last modified: 09-03-2019 01:45 PM by Giuseppe Donnini.)
Post: #5
RE: Weird Units Conversion

  1. 1000000_ft^3 'Mcbf' STO
    (Store the unit object 1000000_ft^3 into the variable Mcbf or whatever name you want to assign to your new unit).
     
  2. { 1_Mcbf } TMENU
    (Add any units you want to the list. Note that it is not sufficient to put the name of the unit into the list, you must use a full unit object, e.g. if you want to add ft^3, put 1_ft^3 into the list).

This produces a menu key for your new unit with the same functionality as a built-in unit menu key, i.e.:

   [Mcbf]  multiplies by the new unit;
LS+[Mcbf]  converts to the new unit;
RS+[Mcbf]  divides by the new unit.

Try  5000000_ft^3 LS+[Mcbf], and you will get the expected result of  5_Mcbf.

Note that this new unit is a simple, non-compound unit which may itself be prefixed with any SI prefix.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Weird Units Conversion - MattGreer - 09-03-2019, 12:36 AM
RE: Weird Units Conversion - Thomas Okken - 09-03-2019, 02:21 AM
RE: Weird Units Conversion - MattGreer - 09-03-2019, 02:46 AM
RE: Weird Units Conversion - Thomas Okken - 09-03-2019, 03:34 AM
RE: Weird Units Conversion - Giuseppe Donnini - 09-03-2019 05:38 AM
RE: Weird Units Conversion - MattGreer - 09-03-2019, 05:55 AM
RE: Weird Units Conversion - MattGreer - 09-09-2019, 05:05 AM
RE: Weird Units Conversion - Marco Polo - 09-09-2019, 04:57 PM
RE: Weird Units Conversion - Claudio L. - 09-10-2019, 10:30 PM
RE: Weird Units Conversion - MattGreer - 09-11-2019, 01:49 AM



User(s) browsing this thread: 1 Guest(s)