Do not display word counts in "More" section in scientific notation

Issue #68 resolved
Philip Burns created an issue

The word count for a texts with a large number of words is display using scientific notation. The count should be displayed as an instead.

Comments (1)

  1. Craig Berry

    Resolved by:

    #!
    
    commit bbe1bd29aa709d53861c070e2c5143ca013707d5 (HEAD -> master, origin/master, origin/HEAD)
    Author: Philip R. Burns <pib@northwestern.edu>
    Date:   Thu Apr 12 16:30:24 2018 -0500
    
        Improve indexing of page and word counts.
    
        If we have it precalculated in the xenodata, just use that instead
        of the much slower count done here.
    
        Also, force the counts to be integers so they don't get displayed
        in scientific notation.
    
  2. Log in to comment