Make a float = 100%

How do I make a float value that can equal any number be represented as 1.0 or 100 in another float?

It’s not clear enough what you mean.

Ok, so I have a float that is the result of 3 different floats added together. lets say (A, B and C) = D, And I want D to = 100% or be considered 100%, as so I can then pull the value of A, B and C. as a percentage of D.

ya get me?

That’s (A*100)/D and it’s more of a math question than a scripting question :slight_smile:

1 Like

thanks, i’ll take a look, and sorry. I am so used to coming here in the c# section with problems.

and btw IT WORKS A CHARM.