Generation

generate functionWed, 22 Mar 2023

Convertir valores numericos en pesos colombianos

Script function pesosColombianos(valor) { return `$${valor.toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, '$1,')} COP`; }

Want to kickstart your project?Use the new AI Studio to create your code