This seems kind of silly but I can't find anything on it and I'm just a beginner. I need to perform a simple calculation. Doing the calc is not the problem but I can figure out how to define a value as a percentage.
Total = (value1 + value2) * buyrate;
I just need the value of buyrate to = 3.99% so I can multiply BY a percentage.