Project

General

Profile

Feature #2218

Greyhole LogMon

Added by taa over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Apps
Target version:
Start date:
03/09/2017
Due date:
% Done:

90%

Estimated time:
0.25 h

Description

Please consider adding commas for thousands separators to make it easier for us older folks to interpret really really big numbers. :)

amahi-greyhole-log.PNG View (959 KB) taa, 03/09/2017 12:52 PM

History

#1 Updated by bigfoot65 over 2 years ago

  • Status changed from New to Assigned
  • Assignee set to bigfoot65
  • % Done changed from 0 to 90
  • Estimated time set to 0.25 h

I think I have a fix that will comma separate the numbers.

Change as follows:
  • Line 210 change awk '{print $1}'`; ?> to awk '{ len=length($1); res=""; for (i=0;i<=len;i++) { res=substr($1,len-i+1,1) res; if (i > 0 && i < len && i % 3 == 0) { res = "," res } }; print res }'`; ?>
  • Line 210 change awk '{print $5}'`; ?> to awk '{ len=length($5); res=""; for (i=0;i<=len;i++) { res=substr($5,len-i+1,1) res; if (i > 0 && i < len && i % 3 == 0) { res = "," res } }; print res }'`; ?>

If it works for you, then it should be good. I will update the app accordingly.

#2 Updated by bigfoot65 over 2 years ago

  • Status changed from Assigned to Feedback
  • Assignee changed from bigfoot65 to taa

#3 Updated by bigfoot65 over 2 years ago

  • Status changed from Feedback to Closed

Update to app tested. Works as expected. F23 & F25 apps updated to new version.

Closing bug.

#4 Updated by taa over 2 years ago

Works great -- thank you.

Also available in: Atom