/tradecenter.php

View previous topic View next topic Go down

/tradecenter.php

Post by seaborgium on Fri Apr 15, 2011 2:16 am

I am unable to do a market trade.
I currently have 1 MT available.

I tried to trade UU for ATs
and it says

"You do not have enough available market trades to progess with the operation"

seaborgium
2nd in Command
2nd in Command

Number of posts : 2551
Registration date : 2009-10-06

View user profile

Back to top Go down

Re: /tradecenter.php

Post by Admin on Fri Apr 15, 2011 5:52 am

a) you only had 0,5 left
b) you actually only had 0.499996 left so rounding got broken due to precision loss.

I made it round differently now it shows 0.49 as it should

_________________
Disclaimer:
1) You are always welcome to correct my assumptions and understanding of a situation but please do so in a logical and sound manner.
2) If I ask stupid questions it's only because sometimes people aren't smart enough to ask these themselves.
3) Being condescending to some people helps me keep my sanity when I am forced to interact with them.

I hate PR, will never engage in it and will rain destruction on all who refuse to use their brains to think before they speak.
avatar
Admin
Admin

Number of posts : 4363
Registration date : 2008-08-18

View user profile http://www.aderanwars.com

Back to top Go down

Re: /tradecenter.php

Post by seaborgium on Fri Apr 15, 2011 8:35 am

well....
when i tried this I had 1 showing, then I traded in a MR and had 3.5. I then traded 3 and had .5 left.

seaborgium
2nd in Command
2nd in Command

Number of posts : 2551
Registration date : 2009-10-06

View user profile

Back to top Go down

Re: /tradecenter.php

Post by Admin on Fri Apr 15, 2011 10:07 am

yeh cos you had 0.99996 before, and the rounding was screwed
should have shown as 0.99 in the first place

_________________
Disclaimer:
1) You are always welcome to correct my assumptions and understanding of a situation but please do so in a logical and sound manner.
2) If I ask stupid questions it's only because sometimes people aren't smart enough to ask these themselves.
3) Being condescending to some people helps me keep my sanity when I am forced to interact with them.

I hate PR, will never engage in it and will rain destruction on all who refuse to use their brains to think before they speak.
avatar
Admin
Admin

Number of posts : 4363
Registration date : 2008-08-18

View user profile http://www.aderanwars.com

Back to top Go down

Re: /tradecenter.php

Post by seaborgium on Fri Apr 15, 2011 10:24 am

ah ok, thanks for checking into it.

seaborgium
2nd in Command
2nd in Command

Number of posts : 2551
Registration date : 2009-10-06

View user profile

Back to top Go down

Re: /tradecenter.php

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum