How do I use math on variables?

How do I do math? Like, multiply float variables by decimals so I don’t need 3 different movement variables. i.e. 1 is the set as walk speed, x1.5 for run speed, x0.6 for strafe speed.