[Pedido] Porcentagem
#6

PHP код:
#define percent(%0,%1) (%0 * (%1 / 100.0))
// Uso:
new Float:percent(10010); // x recebe 10% de 100. 
Reply


Messages In This Thread
Porcentagem - by minimessi10 - 16.10.2015, 18:56
Re: Porcentagem - by Kamper - 16.10.2015, 19:05
Re: Porcentagem - by willttoonn - 16.10.2015, 19:07
Re: Porcentagem - by minimessi10 - 16.10.2015, 19:07
Re: Porcentagem - by willttoonn - 16.10.2015, 19:10
Re: Porcentagem - by zPain - 16.10.2015, 20:56

Forum Jump:


Users browsing this thread: 1 Guest(s)