Page 1 of 1

fixdecimalvalue.dll - makes $bar work with $NetSpDownK

Posted: May 29th, 2007, 7:23 pm
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