export default function absRound (number) { if (number < 0) { return Math.round(-1 * number) * -1; } else { return Math.round(number); } }
info at phpclasses dot org