I use NumeralJS for formatting amounts as below;
numeral(unformattedValue).format(amtFormat);
So if the amtFormat is set as "0,0.00", then if the amount is entered as "123.1", I get it as "123.10"
But what I want is no formatting/rounding, etc to take place after the decimal... Thus, if the entered value is 1.999999, I want the output to be 1.999999 (No change after the decimal at all)
Is it possible to pass something to the format() to achieve this ? I could not find anything in the NumeralJS documentation.