I created a stat (pt4 doesn't give me the %)

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

I created a stat (pt4 doesn't give me the %)

Postby drhouse10 » Fri Jun 27, 2025 8:44 am

The ratio it gives me is correct , but it doesn't give me the %, but a wrong whole number that I don't know what it refers to.
Do you have any ideas on how I can solve it?

I sent you the screenshot of stat in statistic. (in attachment)

I have create the various columns (BXB, BXB_3bp, BXX, BXX_3bp)

BXB is Bet check bet when we start with cbet.
BXX is BEt check check when we start with cbet.

Then i created same for 3bp (just added that we are in 3bp)
All stats are working, ratio is correct, % is correct.

Now i want create the same BXB for rsp (because BXB is overall i think)
So i want subtract the BXB in 3bp to BXB overall to have the BXB rsp version (yes there would be i 4bp too, but are small cases and it not affect much the stat)

The cases are correct, i checked, the ratio are correct but it doesn't give me the % (es. i see 3/9 and show me 420 instead 33%) There is something wrong.

Any help?
Attachments
stat.png
(38.9 KiB) Downloaded 982 times
drhouse10
 
Posts: 3
Joined: Thu Apr 29, 2021 4:13 pm

Re: I created a stat (pt4 doesn't give me the %)

Postby Flag_Hippo » Sat Jun 28, 2025 6:50 am

Try this value expression:

Code: Select all
((BXB - BXB_3bp) / ((BXB - BXB_3bp) + (BXX - BXX_3bp)))

and change the stats format type to 'Percent'.
Flag_Hippo
Moderator
 
Posts: 17094
Joined: Tue Jan 31, 2012 7:50 am

Re: I created a stat (pt4 doesn't give me the %)

Postby drhouse10 » Sat Jun 28, 2025 7:39 am

Flag_Hippo wrote:Try this value expression:

Code: Select all
((BXB - BXB_3bp) / ((BXB - BXB_3bp) + (BXX - BXX_3bp)))

and change the stats format type to 'Percent'.


Top! Solved! It works! Thank you so much for your time!
drhouse10
 
Posts: 3
Joined: Thu Apr 29, 2021 4:13 pm


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 0 guests