Set base unit to a variable of the StoX dataType

setBaseUnit(x, dataType, variableName)

Arguments

x

The object to set base units to.

dataType

The name of a StoX DataTypes.

variableName

The variable name to get base units from.