Skip to content

Getting negative number for formatting Phone number  #471

@sridhand

Description

@sridhand

Used numeral for formatting phone number. It works fine for space but for "-" i am getting negative value.
var t="3-3 4-34-343";
t1=numeral(t).value();
console.log(t1); ==> -33434343
Any suggestion will be great help. Thanks

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