View unanswered posts | View active topics It is currently Mon Jul 21, 2025 9:46 pm



Reply to topic  [ 3 posts ] 
 Donation/Contribute editors accepting K, M, B suffix 
Author Message

Joined: Sun Nov 06, 2011 8:14 am
Posts: 16
Reply with quote
When I donate I can type in "1B" and there is no error message, but in fact it is stripped of that B and I donated 1 instead of 1.000.000.000 ... yeap, donating 1 Credit in base log looks epic ;)

... is it possible to change behavior of those editors (most important are those for donation/contribution)?
As we see most numbers in K/B/M I would like to be able to type numbers in that format too


Wed Sep 19, 2012 10:28 am
Profile
User avatar

Joined: Tue Dec 06, 2011 3:17 pm
Posts: 3632
Location: Gone.
Reply with quote
khaox wrote:
When I donate I can type in "1B" and there is no error message, but in fact it is stripped of that B and I donated 1 instead of 1.000.000.000 ... yeap, donating 1 Credit in base log looks epic ;)

... is it possible to change behavior of those editors (most important are those for donation/contribution)?
As we see most numbers in K/B/M I would like to be able to type numbers in that format too


What's wrong with typing out all the numbers? 1,000,000,000 isn't hard to type.

_________________
Image

Devastation - Rank 1209 - Proud Officer of Imperium of Namalak


Wed Sep 19, 2012 6:04 pm
Profile

Joined: Sun Nov 06, 2011 8:14 am
Posts: 16
Reply with quote
XxDarthDexterxX wrote:
What's wrong with typing out all the numbers? 1,000,000,000 isn't hard to type.


Yes, it isn't hard. And this suggestion isn't critical as only some weird cases can cause players to feel harmed by it. So it merely about consistency. Actions should generate expected results or (descriptive) error messages.
So:
a) K/M/B should be forbidden (don't validate / match pattern... implementation isn't important)
or
b) K/M/B as suffix should evaluate to *1000 / *1000000 / *1000000000 <-- this solution seems "nicer" as game communicate with players using K/M/B


Wed Sep 19, 2012 6:36 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 34 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.