Recent content by SLSCoder

  1. SLSCoder

    MHB How can I get equal columns and rows from a total?

    Duh - floor(square root of x)
  2. SLSCoder

    MHB How can I get equal columns and rows from a total?

    I have a number of cells (say 10 cells) but that number is a variable. I have the value of the variable but it's not a 'hard' number. We'll call the variable x. I need to calculate how many columns I'll have if the columns and rows will be the same, or the columns will be 1 minus (floor) the...
  3. SLSCoder

    MHB How to Map a Range to -1 to 1 in Relationships?

    Thank you! I need to write this function in code (software). My math is pretty bad so I just want to clarify that the equation looks like this? This is correct: low ≤ x ≤ high -1 + 2 * ((X - lo) / (hi - lo)); I sure appreciate your help.
  4. SLSCoder

    MHB How to Map a Range to -1 to 1 in Relationships?

    I have a number, the high, that could be positive, negative or zero and can be a fraction. I have another number, the low, that could also be positive, negative or zero and can be a fraction. I have another number, the variable that is between the high and the low. It is safe to say that the...
Back
Top