Levyman's Recent Forum Activity

  • Tried everything and it still flickers a little, it's a pity i can't just stop automatic rounding at all, even when it hits 2 characters and i just put & 0 it still flickers a little, so i just don't understand how to get it to work

  • BillionCheck to int(Variable / 10^9 * 1000) /1000

    Beforedec to tokenat(BillionCheck & "Beforedec . Afterdec",0,".")

    Afterdec to tokenat(BillionCheck & "Beforedec . Afterdec",1,".")

    Checkdec to len(str(Afterdec))

    every tick

    Checkdec = 2

  • BillionCheck to int(Variable / 10^9 * 1000) /1000

    BillionCheck2 to tokenat("Beforedec . Afterdec",1,".")

    On every tick but just returning a Nan value.

    To be honest this just looks wrong as i post it but have no clue how to fix it

  • Thanks! :) this is a bit beyond me and it's only my 2nd week using construct 3, how would you write that?

    i current have every tick to check for Variable => 10^9 < 10^12 then i will go to => 10^12 < 10^15 for trillions etc

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So i have the event right to return me the value of billions with 3 decimal places but i am using this event on a fast timer and anytime it goes to a 0 it will round up to shorter decimal places, example being 123.130 becomes 123.13, I want to always keep 3 decimal places, looked on a lot of posts but can't seem to find the right answer, please help been stuck on this for a day now :(

    Set Text:round(Variable / 10^9 * 1000) / 1000

Levyman's avatar

Levyman

Member since 20 Jun, 2018

None one is following Levyman yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies