I think you're good here, but I just saturate everything with float casts, so I'd cast the initial pl_skill to float, and designate 10 as 10.0 to be totally sure.  Same for the later calculations.