• 数组部分
将原数组倒序 array_reverse()
  • 移除数值无意义的0
$num = '0.123456789012345678900000000000';
echo rtrim(rtrim($num, '0'), '.');

标签: none

添加新评论