It depends, SQL likes to retain as much information in Memory as possible, I would take the total size of the active Databases and multiple by 1.5 or 2 if...
I have noticed similar results so I cast as numeric and round to ensure that my data consistent. If you are using larger numbers you might increase the 8 tp...