Actions
Improvement #2336
closedxmera Omnia - Improvement #1837: Improvements of diverse modules
Show float number with two digits by default
Start date:
08/15/2024
Due date:
08/15/2024
% Done:
100%
Estimated time:
Compatible Redmine Version:
5.1.z
Pull Request Link:
Description
Will show 2 instead of 1 digit for float numbers
where there are zero values on the right side,
e.g. 1.200,00.
number_with_precision(object, delimiter: ::I18n.t('number.format.delimiter'),
separator: ::I18n.t('number.format.separator'),
strip_insignificant_zeros: false,
precision: 2)
A float will look like this in an issue:
Files
Actions