1
I have two numbers, one of them is fixed (1700) and one will always be alternating between 0 and 1700, I want to calculate the percentage of that number that is alternating, for example, when the number is 1071 the percentage is equal to 63%, when 1700 is equal to 100%!
$NumeroFixo = 1700
$Alternado = 1071
$Porcentagem = 63%
How can I do that ?
Is confused:
1071 a porcentagem seja igual a 63%, quando for 1700 seja igual a 100%
how so?– novic
1071 is 63% of 1700!
– FoX
@Fox Is that example using similar numbers induces error.
– Jéf Bueno
this one already has an answer here https://answall.com/questions/199586/duvida-calculo-de/199616#199616
– user60252