[fixed]devide float by float AMXX problems
PHP Code:
PHP Code:
it devides 16 by 24 and gets 0.761904 while windows calc.exe gets 0,695652 Devident | Devisor |what amxx gets | what calc.exe gets: 17 by 23 = ( 0.809523 ) against 0,73913043478260869565217391304348 11 by 18 = ( 0.647058 ) against 0,61111111111111111111111111111111 11 by 15 = ( 0.785714 ) against 0,73333333333333333333333333333333 11 by 20 = ( 0.578947 ) against 0,55 9 by 16 = ( 0.600000 ) against 0,5625 what and where is wrong and how it can be fixed? |
Re: devide float by float AMXX problems
Code:
|
Re: devide float by float AMXX problems
Quote:
edit: tested, yes it just gives 0.000000 as i wrote above |
Re: devide float by float AMXX problems
Have you tried to print result for float(16) and float(24) ?
17.000000 / 23.000000 = 0.739130 ConnorMcLeod : /div 17 PHP Code:
|
| All times are GMT -4. The time now is 14:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.