function arrondir(nb, decimales = 2)
{
return Math.round(nb * Math.pow(10, decimales)) / Math.pow(10, decimales)
}
Catégories
function arrondir(nb, decimales = 2)
{
return Math.round(nb * Math.pow(10, decimales)) / Math.pow(10, decimales)
}