Changeset 9b27ea3 in rattail


Ignore:
Timestamp:
11/28/2022 11:50:05 AM (2 months ago)
Author:
Lance Edgar <lance@…>
Branches:
master
Children:
f830956
Parents:
49f0fb8
Message:

Fix logic for rendering percentage value, when null

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rattail/app.py

    r49f0fb8 r9b27ea3  
    14341434           ``value`` is assumed to be between 0.0 and 1.0 instead.
    14351435        """
     1436        if value is None:
     1437            return ''
    14361438        fmt = '{{:0.{}f}} %'.format(places)
    14371439        if from_decimal:
Note: See TracChangeset for help on using the changeset viewer.