
KPI
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
I've got a quick one show off gotta find the right screen cool so um this is actually a customer reporting bug that we were able to fix up and also improve on which is nice uh previously with the kpi comparison uh tile here uh I actually when I uh introduced the number option we weren't considering formatting at all it was just taking the raw value and actually a fun bug that popped up uh I forget which customer it was but uh a fun bug that popped up was that the math that I was doing behind the scenes to get this number to pop up would actually uh cast like abbreviated number so if you had like 1 million 1 M it would actually get cast
to one um so that was obviously not the right call so instead we're using the raw value now which is really nice uh so if I were to go here and then make this an abbreviate number it would oh please there we go we are using the proper number now which is now 10.4 5K uh you also notice that the formatting sticks around and one thing that's nice is that if I wanted to I don't know make this pounds and if I wanted to change the decimals to be four decimals all that stuff is preserved so we are using the same formatting logic that we're using throughout the app which is really nice um yeah so pretty nice uh win overall so that's me