Skip to content

Commit 27168fc

Browse files
committed
Changed 'minus' to 'negative' in HumanizeNumber
1 parent 836535c commit 27168fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ HumanizeColor(color, dest[], maxLength = sizeof dest)
4343
```
4444
1000 -> "one thousand"
4545
1234 -> "one thousand two hundred thirty-four"
46-
-1234 -> "minus one thousand two hundred thirty-four"
46+
-1234 -> "negative one thousand two hundred thirty-four"
4747
```
4848
```C
4949
HumanizeNumber(number, dest[], maxLength = sizeof dest)

humanize.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ stock HumanizeOrdinal(number, dest[], maxLength = sizeof dest)
273273
// Example :
274274
// 1000 -> "one thousand"
275275
// 1234 -> "one thousand two hundred thirty-four"
276-
// -1234 -> "minus one thousand two hundred thirty-four"
276+
// -1234 -> "negative one thousand two hundred thirty-four"
277277
//
278278
stock HumanizeNumber(number, dest[], maxLength = sizeof dest)
279279
{
@@ -286,7 +286,7 @@ stock HumanizeNumber(number, dest[], maxLength = sizeof dest)
286286
}
287287
else if(number < 0)
288288
{
289-
strcat(dest, "minus ", maxLength);
289+
strcat(dest, "negative ", maxLength);
290290
number *= -1;
291291
}
292292

0 commit comments

Comments
 (0)