Help Float
#2

Try this:
PHP код:
new strc[128],Float:realnum,decimals;
format(strc,sizeof(strc),"%%.%df",decimals); //output %%.2f
format(strc,sizeof(strc),strc,realnum); //output %.2f 
Reply


Messages In This Thread
Help Float - by PhamHoang - 17.05.2017, 08:00
Re: Help Float - by AbyssMorgan - 17.05.2017, 08:04
Re: Help Float - by ShihabSoft - 17.05.2017, 08:05
Re: Help Float - by PhamHoang - 17.05.2017, 08:07
Re: Help Float - by Gammix - 17.05.2017, 09:30

Forum Jump:


Users browsing this thread: 4 Guest(s)