Hajin's Recent Forum Activity

  • Try (round((21/20)*100)/100

    This will divide 21 by 20, giving you 1.05, multiply it by 100 to give you 105, round to closest integer (if it wasn't already an integer) and then divide by 100 to give you 1.05.

    I think this isn't matching with my needs right now, but your explanation for the formula makes my thoughts much clearer. Thanks for the tip!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Wrong, ceil(21/20) gives 2.

    Really??? Then I must have missed or misunderstood something in the test...... got to check again. Thanks for the reply!

  • Using ceil(), it seems this rounds up a number only to the 10ths, while I want them up to the 100ths.

    ex) ceil(21/20) = ceil(1.05) = 1, while I need 2 for that.

    How can I make it round up to 100ths?

  • Hi guys.

    I set my workspace of C2 (interface positions) fitted for my displays(dual monitors) and was pretty happy with it,

    but every time I restart C2, they go back to the plain(default) state.

    (among several instances of C2, I closed the adjusted one last, as I thought that would save the adjusted workspace)

    (the monitor 1 and 2)

    The adjusted position is so ideal that I want to maintain, but on the 'Preferences' dialog I couldn't find any related option(only 'reset'), so I've searched the manual, tutorials and forum but couldn't find any good help...

    I think it has something to do with registry(regedit), anyone know the way...?

    Thanks!

Hajin's avatar

Hajin

Member since 11 Apr, 2015

None one is following Hajin yet!

Trophy Case

  • 9-Year Club
  • x5
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

12/44
How to earn trophies