MaxPrecision for numbers.

This forum is currently in read-only mode.
From the Asset Store
Jump on numbers in the proper order and reach the sun!
  • What i want: a MaxPrecision function for construct to have the maximum number of digits of precision to be allowed in arbitrary-precision numbers.

    Work-around:

    (number*10^n)/10^n[/code:1vcro4ou] But why not make this thing simple eh?
  • <img src="http://i2.photobucket.com/albums/y46/soldjahboy/sig%20images/what.jpg">

    ~Sol

  • <img src="http://i2.photobucket.com/albums/y46/soldjahboy/sig%20images/what.jpg">

    ~Sol

    That's quite possibly the most awesome picture I've ever seen.

    But I think what he means is that for numbers that are calculated to extreme decimal places, you could just use a little function and simplify it into a smaller amount of decimal places. For example, turning 1.2589512684 into 1.26. I think that's what he means, anyways.

  • That's quite possibly the most awesome picture I've ever seen.

    But I think what he means is that for numbers that are calculated to extreme decimal places, you could just use a little function and simplify it into a smaller amount of decimal places. For example, turning 1.2589512684 into 1.26. I think that's what he means, anyways.

    Verily

  • This already exists: FormatDecimal(Value, # of decimal places)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This already exists: FormatDecimal(Value, # of decimal places)

    Damn didnt know that, thx.

    ps. close the topic please.

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