[S] Round to one digit

This commit is contained in:
Hykilpikonna
2019-12-21 20:23:52 -05:00
parent eeb2ae56d7
commit 62237d5f5f
+1 -1
View File
@@ -87,7 +87,7 @@
*/
progress()
{
return this.unread.filter(a => !a.unread).length / this.unread.length * 100;
return +(this.unread.filter(a => !a.unread).length / this.unread.length * 100).toFixed(1);
}
/**