locbet / jquery-numberformatter

Automatically exported from code.google.com/p/jquery-numberformatter
0 stars 0 forks source link

Negative numbers that are the exact length of the group size get a seperator #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a test page referencing jquery and the latest numberformatter
2. add the following to the html:
    <div id="test">-434.4343</div>
    <script type="text/javascript">
        $("#test").format({format:"-#,###.00", locale:"us"});
    </script>

What is the expected output? What do you see instead?
I expected the output to read "-434.43". Instead I see "-,434.43".

What version of the product are you using? On what operating system?
jquery 1.3.1, numberformatter 1.1.0, windows server 2008

Please provide any additional information below.

Original issue reported on code.google.com by designf...@gmail.com on 4 Feb 2009 at 9:58

GoogleCodeExporter commented 8 years ago
Fixed in the 1.1.1 version.

Original comment by bluedevi...@gmail.com on 6 Feb 2009 at 3:00