Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

Change from kb to MB or GB

General discussion about LCD Smartie.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351

Post Reply
Swope
Posts: 1
Joined: March 9th, 2009, 6:43 pm

Change from kb to MB or GB

Post by Swope »

Hey guys,

how is it possible to change the value from "$NetSpDownK(9)" to "$NetSpDownM(9)" if the speed is over 1024 kb/s and from "$NetDownM(9)" to "$NetDownG(9)" if the total MB is more than 1024? And later change it back?

edit: And also change the labels behind them. (kb, MB, GB)
mattcro
Forum Supporter
Posts: 590
Joined: March 8th, 2006, 1:58 pm
Location: Scotland

Post by mattcro »

Check out the Formatting plugin by JumpinJon. THis has a function to display bytes as KB, MB or GB depending on the size of the bytes value.

http://forums.lcdsmartie.org/viewtopic. ... formatting
Post Reply