toFixed () to remove a certain amount of decimals. To demonstrate, let's have a variable with a decimal number like so:
確定! 回上一頁