Closed n8thegr8 closed 5 years ago
It should always be a whole number.
I'm sorry but I don't really agree with that statement.
What if the number was "1.75 views per day"? I could have WPP round it to "2 views per day" or to "1 view per day" but that wouldn't be accurate.
What could be done instead: have WPP show whole numbers (eg. 10.00) without decimals (eg. 10). For example:
<ul>
<li>Nam libero tempore, cum soluta nobis est eligendi - 10 views per day</li>
<li>Sed ut perspiciatis unde omnis iste natus error sit - 8.52 views per day</li>
</ul>
Thoughts?
Yes, that would be great.
Thanks Hector!
On Sat, Jan 12, 2019 at 2:29 PM Héctor Cabrera notifications@github.com wrote:
Closed #205 https://github.com/cabrerahector/wordpress-popular-posts/issues/205 via fa0c607 https://github.com/cabrerahector/wordpress-popular-posts/commit/fa0c607e64691854db3d4e826c5ae45d676f43ea .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cabrerahector/wordpress-popular-posts/issues/205#event-2070232556, or mute the thread https://github.com/notifications/unsubscribe-auth/ADqLE1JotGu3AVJSeZkunw89Yp-mj8_sks5vCjePgaJpZM4ZNffY .
--
Nate Maxfieldclypd | Creative Director
617.872.9041 nate@clypd.com http://www.clypd.com/
Connect with us: Twitter https://twitter.com/clypd | LinkedIn https://www.linkedin.com/company/clypd-inc- | Facebook https://www.facebook.com/clypd
Could you remove the decimals from the count on the popular items? It looks strange to have 23.00 and 12.00 when counting views. It should always be a whole number.