Comma formated numbers

  • I needed a way to format a string of numbers for a game I'm working on and couldn't find anything in the built in text plugin of construct so I modified the original text plugin to do what I needed and renamed it Label and thought I'd share incase anyone else needs it.

    only thing different than original text plugin is it auto formats the string with commas.

    for example:

    Label set text 9999   will render as 9,999

    Label set text 999999 will render as 999,999

    works with append text as well (not that I can find a use for that) removing original commas and re setting the commas

    apparently I don't have enough rep to post a direct link so you can download it at

    syndor.ca/Label.rar

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Can you reupload the plugin?

  • Please do something for the Green World <img src="smileys/smiley2.gif" border="0" align="middle" />

    <img src="http://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/20130228DecimalSeparator.svg/320px-20130228DecimalSeparator.svg.png" border="0" />

    Decimal marks/thousands seperator:

    "."/"," ? Blue

    ","/"." ? Green

    Eastern Arabic numerals ? Red

    Data unavailable ? Grey

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)