<script
language="JavaScript">
n="1279834847944074100465236.33"
re=/(\d{1,3})(?=(\d{3})+(?:$|\.))/g
n1=n.replace(re,"$1,")
alert(n+"\r\n"+n1)
document.write(n+"\r\n"+n1);
</script>
时间: 2024-10-16 09:44:44
<script
language="JavaScript">
n="1279834847944074100465236.33"
re=/(\d{1,3})(?=(\d{3})+(?:$|\.))/g
n1=n.replace(re,"$1,")
alert(n+"\r\n"+n1)
document.write(n+"\r\n"+n1);
</script>