🌈 搜索
📅  最后修改于: 2022-03-11 15:03:00.790000             🧑  作者: Mango
var length = (number + '').replace('.', '').replace('-', '').length; // for numbers that can be floats or negatives