View Single Post
zeus
Senior Member
Join Date: Jul 2008
Old 07-18-2013 , 16:10   Re: Float number calculations
Reply With Quote #4

I have made a similar test

Code:
new Float:a = 32.0;
new Float:b = 0.13;
new Float:s;
	
s = a + b;
client_print(id,print_chat,"%f",s);
The result shown is

Code:
32.130001
Tested with latest HLDS build, AMXX Build ID: 1.8.3-dev 140:f57bd4cee0b7, runing CentOS 6 64bit.
zeus is offline