15 lines
321 B
JavaScript
15 lines
321 B
JavaScript
// Metro module 3462 (f3463).
|
|
let c1819_0, c1819_1;
|
|
export function getRoundingMethod(a0) {
|
|
return a0 ? c1819_0[a0] : c1819_0[c1819_1];
|
|
}
|
|
c1819_0 = {
|
|
ceil: Math.ceil,
|
|
round: Math.round,
|
|
floor: Math.floor,
|
|
trunc: function trunc(a0) {
|
|
return a0 < 0 ? Math.ceil(a0) : Math.floor(a0);
|
|
}
|
|
};
|
|
c1819_1 = "trunc";
|