SOURCE

var total  = 543;
console.log(Math.floor(total/100)); //向下取整
console 命令行工具 X clear

                    
>
console