Home en de fr et

#2941 (PercentageField should be a QuantityField and return Percentage values)

State: Open (last update 2019-08-01 17:01:41+00:00)
Created 2019-04-03 18:19:15+00:00 by Luc Saffre
Site: core.inner

lino.core.fields.PercentageField doesn't use lino.utils.quantities, it currently just a thin wrapper around `DecimalField`, and Lino adds a percent sign when printing it.  It would be more elegant if a PercentageField would store and yield lino.utils.quantities.Percentage values.

    (4 months, 3 weeks ago by Luc Saffre)