Ensures a linear scale has decimals
npm i linear-scale-to-decimal
var Decimal = require('linear-arbitrary-precision')(require('floating-adapter'));
var scaleToDecimal = require('linear-scale-to-decimal')(Decimal);
scaleToDecimal([32, 33.8]);
// => [new Decimal('32'), new Decimal('33.8')]
- linear-presets: linear presets for common units.
- linear-converter: flexible linear converter.