Ignore:
Timestamp:
5 Jan 2017, 08:34:08 (8 years ago)
Author:
Henrik Bettermann
Message:

We are adding floating-point numbers. Thus we have to round in order to get reasonable values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/export.py

    r13943 r14367  
    562562            if value == 0:
    563563                value = ''
     564            elif isinstance(value, float):
     565                value = round(value, 2)
    564566        return super(
    565567            StudentExporter, self).mangle_value(
Note: See TracChangeset for help on using the changeset viewer.