Skip to content

Numbers are not always formatted properly when there are no decimal places #3835

Closed

Description

@TheWitness

Describe the bug

When using number format the localization functions can return an empty decimal and thousands separator, which leads to broken rendering.

Expected behavior

Cacti should use reasonable defaults (US), when they are empty.

Activity

  1. added this to the 1.2.15 milestone on Sep 29, 2020
  2. added a commit that references this issue on Sep 29, 2020
  3. changed the title [-]The function number_format_18n() does not properly use the decimal and thousands separators in some cases[/-] [+]Numbers are not always formatted properly when there are no decimal places[/+] on Nov 2, 2020
  4. locked and limited conversation to collaborators on Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions