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

fixdecimalvalue.dll - makes $bar work with $NetSpDownK

Announcements of new plugins or updates.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
pluto2
Posts: 19
Joined: July 19th, 2005, 9:59 am
Contact:

fixdecimalvalue.dll - makes $bar work with $NetSpDownK

Post by pluto2 »

Background:

On my machine $NetSpDownK won't work with a $bar command, it says "too many parameters too $bar command". The problem is that $bar uses a coma to separate the decimal part with the whole number part. This makes impossible to use it correctly with $bar. So I did this plugin:

fixdecimalvalue.dll

simply use it like this $dll(fixdecimalvalue,1,$NetSpDownK(1))
IMPORTANT, YES! it's missing a paramter, that's because $netspdownk makes this second parameter. The plugin returns the WHOLE NUMBER part only of $netspdownk which turns into this working solution:

$Bar($dll(fixdecimalvalue,1,$NetSpUpK(1)),1250,20)

I don't know if anyone else has this problem but I sure did so I made this solution, cheers!

Kristian
You do not have the required permissions to view the files attached to this post.
Post Reply