/

ConvertUnitGeneral

[this page | pdf | back links]

Function Description

Returns a general unit conversion, re-expressing a value in the FromUnits into a value in the ToUnits allowing for arbitrary (integer) powers of each unit, e.g. if re-expressing a value expressed in ms-2 we would input into FromUnits an array {metre, second} and into FromUnitPowers an array {1, -2}.

 

Please note that this function converts temperature scale units according to their size rather than their absolute value (e.g. it will convert 5 degrees Celsius into 9 degrees Fahrenheit).

 


NAVIGATION LINKS
Contents | Prev | Next


Output type / Parameter details

Output type: Double
Parameter NameVariable TypeDescription
xDoubleInput value
FromUnitsString()Physical unit components forming compond physical unit in which input value is expressed
FromUnitPowersInteger()Powers to apply to components when creating compound physical unit in which input value is expressed
ToUnitsString()Physical unit components forming compond physical unit in which output value is expressed
ToUnitPowersInteger()Powers to apply to components when creating compound physical unit in which output value is expressed

Links to:

-          Interactively run function

-          Interactive instructions

-          Example calculation

-          Output type / Parameter details

-          Illustrative spreadsheet

-          Other Unit conversion functions

-          Computation units used


Note: If you use any Nematrian web service either programmatically or interactively then you will be deemed to have agreed to the Nematrian website License Agreement


Desktop view | Switch to Mobile