aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-04-04 14:22:08 -0700
committerChristian Cunningham <cc@localhost>2022-04-04 14:22:08 -0700
commit9d05111498d6feff02db13b7762718ee5917a6b0 (patch)
treecd988afb44271c4ac5647db802f82c63c72da67f
parentb573c7b0930ad5c3fce2d77596caf6da5a9040c5 (diff)
Comment on decimal point inclusion
-rw-r--r--usr/string.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/string.c b/usr/string.c
index 6129d38..fa95001 100644
--- a/usr/string.c
+++ b/usr/string.c
@@ -10,6 +10,7 @@ char* ulong_to_string(unsigned long value, char* data)
if (t==0)
break;
dptr -= 1;
+ // Add decimal point to distinguish orders more easily
if (i == 2) {
*dptr = '.';
dptr -= 1;