Calculates range formula and converts it.
Wrapper around calculateRangeFormula and convertDistance
Range formula
Type fed to calculateRangeFormula
Roll data fed to calculateRangeFormula
Simple example
const [range,unit] = calculateRange("@level", "mi", { level:2 });// => range:10560, unit:"ft" Copy
const [range,unit] = calculateRange("@level", "mi", { level:2 });// => range:10560, unit:"ft"
Calculates range formula and converts it.
Wrapper around calculateRangeFormula and convertDistance