Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny


Postby plukhead » Fri Nov 05, 2021 3:19 pm

hola necesito ayuda ,al crear las stats me interesa que las redondee para abajo

por ejemplo: 71.7% necesito que lo redondee en 71
82.8% en 82%,y no se cual es la opcion gracias
Posts: 84
Joined: Mon Sep 16, 2019 11:16 pm

Re: redondeo

Postby Flag_Hippo » Sat Nov 06, 2021 6:53 am

There isn't an option to round down. When using no decimal places statistics will round to the nearest number so a value of 82.8% will appear as 83%. PostgreSQL does have floor and trunc functions although I haven't been able to get that to work in this context.
Posts: 11610
Joined: Tue Jan 31, 2012 7:50 am

Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 1 guest