Skip to content

Commit bfef9af

Browse files
committed
v3.21.0
1 parent b3406c0 commit bfef9af

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/docs/guide/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Get all the essentials features Starting at £0.99/mo<br>
2020
## Installation
2121

2222
::: warning
23-
Install the npm package @coders-tm/vue-number-format@^2.12.0 for Vue 2.0
23+
Install the npm package @coders-tm/vue-number-format@^2.13.0 for Vue 2.0
2424
:::
2525

2626
<CodeGroup>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coders-tm/vue-number-format",
3-
"version": "3.20.0",
3+
"version": "3.21.0",
44
"private": false,
55
"description": "Easy formatted numbers, currency and percentage with input/directive mask for Vue.js",
66
"author": "Dipak Sarkar <hello@dipaksarkar.in> (https://dipaksarkar.in/)",

src/number-format.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export default class NumberFormat {
166166
if (this.isNull()) {
167167
return this.options.nullValue
168168
}
169-
if (this.options.reverseFill && this.realNumber() <= 0) {
169+
if (this.options.reverseFill && this.realNumber() === 0) {
170170
return this.options.nullValue
171171
}
172172
return this.sign() + this.realNumber()

0 commit comments

Comments
 (0)