Scientific notation for a score? why

SearleSamaSearleSama Member Posts: 108
edited November -1 in Working with GS (Mac)
Hello all,

Im having an issue with displaying my scores. When I create a single actor to display multiple high scores, numbers that are 1 million and higher are displayed in scientific notation (ie. 1.0e+06). If I have the actor display only one score that is 1 million or higher the number displays as full. The attribute is an integer.

Does anyone know how to stop it from converting to scientific notation?
should I use a real attribute for the score instead of integer?
Any help is appreciated.

Comments

  • SearleSamaSearleSama Member Posts: 108
    fyi,

    using real attribute does the same thing... :-(
  • MarkOnTheIronMarkOnTheIron Member Posts: 1,447
    GS attributes don't support numbers above 1 million, so you may want to reconsider your scoring system by using smaller numbers.

    ________________________________
    【ツ】iPhone Icon Pack【ツ】
    Free high score demo here (simple) and here (advanced)
  • SearleSamaSearleSama Member Posts: 108
    well, ofcourse it does.

    A standard computer integer supports 2million+. Also, it displays my scores perfectly fine if only one is displayed per actor. As soon as I have an actor display two numbers that are over 1 million, it converts them to scientific notation.

    My solution at this point has sadly, been to create a new actor for every score I have to display.

    Any other suggestions would be helpful.
  • konpavloskonpavlos Member Posts: 17
    "it displays my scores perfectly fine if only one is displayed per actor."
    what do you mean by this?

    the same thing happens with one score and many actors
Sign In or Register to comment.