I'm using jQuery-Mask-Plugin to create masks in the value fields, I liked it because it's very simple.
The problem is when I try to add a negative value it does not accept the -. But I did the internet and found a way to accept it. The problem is that it is not formatting the field correctly.
I'll put the code in JSFIDDLE because I could not make it work here.
As you can see, the formatting must be equal to
If someone can help me, I'm very grateful.
I thought about changing something on the project, but I do not know what to do. Follow the link for the project code.