Project

General

Profile

Actions

Improvement #2336

closed

xmera Omnia - Improvement #1837: Improvements of diverse modules

Show float number with two digits by default

Added by liaham 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
08/15/2024
Due date:
08/15/2024
% Done:

100%

Estimated time:
Compatible Redmine Version:
5.1.z

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 #1

Updated by liaham 8 months ago

  • Parent task set to #1837
  • Compatible Redmine Version deleted (5.0.z)
Actions #2

Updated by liaham 8 months ago

This change will be removed with Redmine 6 in favor of an option to use a thousand delimiter or not in both float or integer.

Actions #3

Updated by liaham 8 months ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30
Actions #4

Updated by liaham 8 months ago

  • Description updated (diff)
  • Due date set to 08/15/2024
  • Status changed from In Progress to Closed
  • Start date set to 08/15/2024
  • % Done changed from 30 to 100
Actions

Also available in: Atom PDF