The conversion you're asking for needs more than 3 digits, if you remove the '3' parameter, you can see mIRC returning the correct 20,971.51953KB.
The number you are passing as the first parameter and the second parameter where you want KB value but also want a 3 digits result are mutually exclusive.