Skip to content

Handling correctly %0.0f #1

@KingRial

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;

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