Erm.. When can we see this 1,000,000 instead of 1e+06?

DsAngelDsAngel Member Posts: 29
edited February 2012 in Working with GS (Mac)
Hi all!

I'm just would like to know when will number more then mil can be display in GameSalad!
Know that the team is working hard on the engine (Great job on this! :) ) , but is this umm... feature something hard to add in?
Or is this already coming very soon?

Hope someone who know the issue would kindly let me know! :)

Thanks!
DsAngel

Comments

  • calvin9403calvin9403 Member Posts: 3,186
    There is but you can't just use the display text behavirou

    Maybe someone has a demo on this, it will be easier for you to understand
  • EthanZarovEthanZarov Member Posts: 156
    It still is 1,000,000, they just use scientific notation to express it. 1e + 06 means 1 plus 6 zeros. If you wanted to express 2325000 it would have 23.25e+03. :)
  • ultimaultima Member, PRO Posts: 1,207
    edited February 2012
    @etzer and @calvin9403 please enlighten us =) i've tried and i'm pretty sure the numbers gets messed up once it gets converted into exponentials if you add 1 to 23.25e+05 it won't be... 23.25001e+05 (or what you have).. unless of course... you make a second set of attribute to store values over the 1,000,000 to make sure it never goes into exponential. but that's just pointless.
  • MotherHooseMotherHoose Member Posts: 2,456
    this is what Lua does with large numbers … stores and displays in scientific notation

    so, the answer to the question is: when GS is out of Lua
    from GameSalad HQ …
    http://forums.gamesalad.com/discussion/37301/gamesalads-year-in-review-2011-and-a-look-ahead-to-2012/p1 … 5th paragraph
    and, believing all rumors … should be real soon

    @};- MH
  • ultimaultima Member, PRO Posts: 1,207
    real soon = ? haha
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    You can also try the padInt(x,y) function.
  • MotherHooseMotherHoose Member Posts: 2,456
    edited February 2012
    yes! and here is CodeMonkey's post on that function:

    http://forums.gamesalad.com/discussion/38602/padintpadreal

    although, I copied/saved the directions … never got around to playing with them … :-)

    @};- MH
  • ultimaultima Member, PRO Posts: 1,207
    edited February 2012
    that's going from real number to exponential right.. but not the other way around?

    nvm. i see the z attribute... will give it a try =)
  • MoebiusMoebius Member Posts: 194
    just a quick question and what about the "inf"? which displays when the number is too big, does "inf" stands for infinity or something?
  • ChiselbrainChiselbrain Member Posts: 25
    edited February 2012
    I have to agree. Im a mechanical designer. Im used to scientific notation, but only when the numbers are very extended. Numbers in the millions are not big. You only need it when you have to know the inertia of a metal mass the size of a pencil eraser.
  • CloudsClouds Member Posts: 1,599
    Anyone know the inertia of a piece of metal about the size of a pencil eraser ?
Sign In or Register to comment.