Aderan Wars
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Allow comma input

2 posters

Go down

Allow comma input Empty Allow comma input

Post by seaborgium Wed Jan 27, 2010 11:09 am

Would it be possible for you to allow comma input?
I know some people such as myself use excel to figure things up and would like to copy/paste

I am betting someone had an issue with the ingame market bc i just picked up UU at 155 per uu.

seaborgium
2nd in Command
2nd in Command

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

Back to top Go down

Allow comma input Empty Re: Allow comma input

Post by Admin Wed Jan 27, 2010 11:36 am

will look into that
Admin
Admin
Admin

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

http://www.aderanwars.com

Back to top Go down

Allow comma input Empty Re: Allow comma input

Post by Admin Wed Jan 27, 2010 4:07 pm

Current settings will get you: NaN Untrained

the javascript calculator clearly shows you an error message, if someone is stupid enough to ignore it and/or press buttons quickly without paying attention then no comment on that

I uploaded a fix to that, so it removes "," and "." and it seemed to work all right on my home computer, didn't test it actually on the real server yet

but I only bothered with this because the code didn't give me any headaches when treating the input as text in one line and as a number right after that lol
Admin
Admin
Admin

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

http://www.aderanwars.com

Back to top Go down

Allow comma input Empty Re: Allow comma input

Post by seaborgium Wed Jan 27, 2010 4:41 pm

Nice, I was also looking at things such as doing research
I know the code I use for my sites is

Code:
str_replace(',', '', 'where ever the info is coming from');

seaborgium
2nd in Command
2nd in Command

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

Back to top Go down

Allow comma input Empty Re: Allow comma input

Post by seaborgium Wed Feb 03, 2010 12:34 am

any word?
I went to broker someone today and instead of 2b i did 2 lol

seaborgium
2nd in Command
2nd in Command

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

Back to top Go down

Allow comma input Empty Re: Allow comma input

Post by Admin Wed Feb 03, 2010 2:27 am

it works, just not on the main server Wink
Admin
Admin
Admin

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

http://www.aderanwars.com

Back to top Go down

Allow comma input Empty Re: Allow comma input

Post by seaborgium Wed Feb 03, 2010 3:08 am

LOL
ok then thats a SWEET deal, waits for it to be pushed over Very Happy

seaborgium
2nd in Command
2nd in Command

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

Back to top Go down

Allow comma input Empty Re: Allow comma input

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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