Skip to content

Commit b483907

Browse files
committed
docs(number): add margin explanation
1 parent 417c29c commit b483907

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/number.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ export function convertPayRate(
207207

208208
/**
209209
* Calculates the margin percentage between a base value and an actual value.
210+
* For the margin to be positive, the actual value must be greater than the base value.
210211
*
211212
* ```ts
212213
* margin(100, 150); // 50

0 commit comments

Comments
 (0)