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"
Generated using TypeDoc
Calculates range formula and converts it.
Wrapper around calculateRangeFormula and convertDistance