JavaScript version const roundNearest = (value, nearest) => Math.round(value / nearest) * nearest;. TypeScript version const roundNearest = (value: number, ...
確定! 回上一頁