mirror of
https://github.com/discourse/discourse.git
synced 2025-02-11 02:04:16 +08:00
b25a16ee3e
FIX: relativeAgeMediumSpan was off by 1 REFACTOR: extracted decimalAdjust & round functions from the poll plugin
6 lines
144 B
JavaScript
6 lines
144 B
JavaScript
import decimalAdjust from "discourse/lib/decimal-adjust";
|
|
|
|
export default function(value, exp) {
|
|
return decimalAdjust("round", value, exp);
|
|
}
|