#3990 website: scientific notation for probablities looks ugly

closed-fixed
nobody
Website (125)
3
2010-08-30
2009-01-30
Laguz
No

I looked at the "Creatures" in Game System at the Stendhal-Homepage and found this at giant kobold creature drops:

Probability: 5.0E-4%

I wondered what that could be. I think it would look much more nice in decimal.

Beside that, i made a comment at the thread "[ 2155384 ] Half-PK marked", i didnt realized that is was already closed, but it is still a bug.

Discussion

  • Katie Russell

    Katie Russell - 2009-02-06

    that means 5 x 10^(-4), it's known as scientific notation. It is 0.0005. I think it's a matter of personal taste what you find easier to understand. Personally for me when numbers get so small I find it easier to read scientific notation. What does anyone else think?

     
  • Katie Russell

    Katie Russell - 2009-02-06
    • labels: --> Website
    • summary: Homepage - Game System --> scientific notation for probablities looks ugly
     
  • Nobody/Anonymous

    i say leave scientific notation for scientist
    average user may be lost, i personally never use"E" notation only 10^... so i wast lost too :)

     
  • Nobody/Anonymous

    well all the others are in dec. so y wouldent this one be. it not that hard to read just dif than the others :)

     
  • Astrid Sawatzky

    Astrid Sawatzky - 2009-02-22

    i think scientific notation is much harder to read for those poor people not addicted to math :-)

    (i am addicted btw)

     
  • Katie Russell

    Katie Russell - 2009-03-11
    • priority: 5 --> 3
    • summary: scientific notation for probablities looks ugly --> website: scientific notation for probablities looks ugly
     
  • Katie Russell

    Katie Russell - 2009-03-11

    php is doing it automatically. my proposed fix is something like

    function formatNumber($amount) {
    if($amount<0.0001) {
    return number_format($amount, 6, '.', '');
    } else {
    return $amount;
    }
    }

    but it doesn't work.

     
  • Hendrik Brummermann

    • status: open --> closed-fixed
     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks