diff --git a/src/equipo/equipo.service.ts b/src/equipo/equipo.service.ts index 56143ad..d51a2cb 100644 --- a/src/equipo/equipo.service.ts +++ b/src/equipo/equipo.service.ts @@ -553,17 +553,19 @@ export class EquipoService { escritorios: countEscritorios.map((i) => ({ antiguedad: i.antiguedad, total: i.total, - porcentaje: ((i.total / totalEscrtitorio.total) * 100).toFixed(), + porcentaje: ((i.total / totalEscrtitorio.total) * 100).toFixed(30), })), portatiles: countPortatiles.map((i) => ({ antiguedad: i.antiguedad, total: i.total, - porcentaje: ((i.total / totalPortatiles.total) * 100).toFixed(), + porcentaje: ((i.total / totalPortatiles.total) * 100).toFixed(30), })), altoRendimiento: countAltoRendimiento.map((i) => ({ antiguedad: i.antiguedad, total: i.total, - porcentaje: ((i.total / totalAltoRendimiento.total) * 100).toFixed(), + porcentaje: ((i.total / totalAltoRendimiento.total) * 100).toFixed( + 30, + ), })), }; } catch (error) { @@ -712,7 +714,7 @@ export class EquipoService { const total = Number(item.total) || 0; const porcentaje = totalImpresion > 0 - ? ((total / totalImpresion) * 100).toFixed() + ? ((total / totalImpresion) * 100).toFixed(30) : '0.00'; return { antiguedad: item.antiguedad, @@ -726,7 +728,7 @@ export class EquipoService { const total = Number(item.total) || 0; const porcentaje = totalDigitalizacion > 0 - ? ((total / totalDigitalizacion) * 100).toFixed() + ? ((total / totalDigitalizacion) * 100).toFixed(30) : '0.00'; return { antiguedad: item.antiguedad,