I don't know maximum value of that variables, but if it is $FFFF then maximum number is $FFFE0001, or 4,294,836,225.
So maybe you need to divide with more 10000,100000 etc.
Just use select case or ELSEIF to determine with what value you need to divide.
Bookmarks