VirtualBox

Ignore:
Timestamp:
Feb 23, 2017 4:36:27 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
113642
Message:

wuireport.py: Decimal point for percents in range 95..103 too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuireport.py

    r65503 r65868  
    124124        """
    125125        uPct = cHits * 100 / cTotal;
    126         if uPct >= 10:
     126        if uPct >= 10 and (uPct > 103 or uPct <= 95):
    127127            return '%s%%' % (uPct,);
    128128        return '%.1f%%' % (cHits * 100.0 / cTotal,);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette