Had the same issues, try this...
debug.messagebox(Num) / 100
That was it!
Thank you so very much, I thought I was going crazy.
...and now I hate you.
Now I have to go thru ALL my scripts ( OMG ) and double check that this is not in any of my other math formulas.
I do not think it is because I would have caught this by now if I did this, but now I have to read EVERY line just to be sure.
Yeah, math drove me crazy as well in a miriad of scripts, specially the CK Wiki tells you otherwise.
Strange how some like this will work: massmod = AttackerWeapon.GetWeight() / steelSwordW
and this: attacker.GetActorValue("Sneak")/100
Both are working fine, but not the one that is "get faction rank".
Well, once again thank you, I would have been banging my head on a wall all night if you had not answered that so quickly.
interesting, that does make sense (in a programming "think" way) , but then why is this one working correctly:
attacker.GetActorValue("Sneak")/100
GetActorValue("Sneak") is an Int ...er...right?