Skip to content

Handling correctly %0.0f #1

Description

@KingRial

The schema "%0.0f" is not handled correctly

The switch case on line 170 should check if flags['precision'] is undefined or it will always use 6 ( instead of the 0 ) to decide how manu decimal number show.

Example:
var digits = typeof flags['precision'] != 'undefined' ? flags['precision'] : 6;

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions