manual:chapter3:units

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
manual:chapter3:units [2018/10/25 10:09]
claudio
manual:chapter3:units [2018/10/25 10:17]
claudio [Operating with Units]
Line 29: Line 29:
 Results of an addition or subtraction between consistent units will produce a result with the units of the first argument (argument in level 2 of the stack at the time of the operation, or the left argument in an algebraic expression). Results of an addition or subtraction between consistent units will produce a result with the units of the first argument (argument in level 2 of the stack at the time of the operation, or the left argument in an algebraic expression).
  
 +Unit conversions can be performed directly using the ''CONVERT'' command, which is accessible directly from the keyboard (**LS-6**). For example to convert 100 ml into m^3 simply place the original unit and the new unit on the stack: ''100_ml'' ''1_m^3'' ''CONVERT''.
 +
 +To reduce a unit to its base components, use the command ''UBASE''. For example ''1_N'' ''UBASE'' will return ''1_kg*m/s^2''.
 +
 +To extract the value part of a unit object, use the ''UVAL'' command, which will return the object without its unit.
 ==== Custom Units ==== ==== Custom Units ====
  
  • manual/chapter3/units.txt
  • Last modified: 2019/11/19 13:34
  • by claudio