Describe the bug
The mask is adding a 0 to large negative numbers.
To Reproduce
Expected behavior
Extra zeros should not be inserted into the number
Version
Screenshots

Platform
Additional context
If you hit format on the value that initially there, it seems to work. Maybe an issue having a zero before the decimal point?
Multiple customers (three FSM thus far) reporting this. Raised priority from my perspective.
Only seems to happen for a number with 10 digits before the decimal point
And only with the minus. What kind of numbers are minus billions? (curious - country debt?)
Certainly something in financials!
See more on https://jira.lawson.com/browse/LMCLIENT-36032 @tmcconechy
@EdwardCoyle can you maybe please see about this one and if it has any easy fix?
@tmcconechy and @EdwardCoyle We need a patch for 4.51 and potentially 4.50 if it's low risk.
Have to see about 4.50 we don't usually patch that far back and i think it might have a problem building. But i will try..
Also i know there was another issue you wanted a patch for but i dont know which one? Can you remind me of that other issue and i can add that too to 4.51
@Sovia do you guys use the "round" option on purpose as far as you know? Or is it just our code doing that by default?
bug is here...
this.truncateDecimals(-1482409800.81, 2, 2, { round: true})
"-14824098000.81"
this.truncateDecimals(-1482409800.81, 2, 2, { round: false})
"-14824098000.81"
https://github.com/infor-design/enterprise/issues/4974 for 4.51 patch too please.
OK this issue and #4974 are now patched in 4.51.3 -> Did an angular build and its [email protected]
Working as expected in https://main-enterprise.demo.design.infor.com/components/locale/test-format-big-negative.html?theme=new&mode=light&colors=0066D4
Will now move this ticket to done.
Observation: Unable to input negative sign directly from the field.
Verified in https://main-enterprise.demo.design.infor.com/components/locale/test-format-big-negative.html?


@tmcconechy Can we get a patch for 4.50? THanks
Should we include https://github.com/infor-design/enterprise/issues/5318 as well?
Only this one in the 4.50 patch please!
So two patches done
NG 9.4.6 -> This has 4.50.4 which contains just #5308
NG 9.5.2 -> This has 4.51.4 which contains both #5308 and #5318