This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hi,
When I use this for a LUA text for Health:
return Short(HP(unit))
Per the documentation, this should display health like this: 4303 HP would display as 4.3K
However, it's displaying as 4303. It's not abbreviating the health and adding K at the end. Per the documentation it should do this.
Thanks
What documentation? Values below 10,000 are left as is
https://www.wowace.com/projects/pitbull-unit-frames-4-0/pages/lua-texts
Short(number,format)Shortens the number e.g. 1234 becomes 1.23k. If format is true then calls the format function for you and returns a single pre-formatted string. Otherwise returns the format string and the number.
documentation literally references a value below 10,000...
4303 should be 4.3k.
To post a comment, please login or register a new account.