About 50 results
Open links in new tab
  1. Math - Microsoft MakeCode

    Minimum and maximum of two values You can get the smaller or the bigger of two numbers with the min () and max () functions. The minimum of 2 and 9: Math.min (2, 9) equals 2. The maximum of 3 and 9: …

  2. Math - Microsoft MakeCode

    Minimum and maximum of two values You can get the smaller or the bigger of two numbers with the min and max functions. The minimum of 2 and 9: Math.min (2, 9) equals 2. The maximum of 3 and 9: …

  3. Number - Microsoft MakeCode

    Math functions The math library includes math related functions. For example, the min function returns the minimum value of two input parameters x and y:

  4. Ratios and gameplay - Microsoft MakeCode

    Applicability Skill areas: Math, Ratio, Proportions Ages: 11-12 yrs old Grade level: 6th

  5. Area functions - Microsoft MakeCode

    Applicability Skill areas: Math, Area, Functions, Shapes Ages: 7-9 yrs old Grade level: 3rd

  6. Cubic units - Microsoft MakeCode

    Applicability Skill areas: Math, Volume, Cubic Units Ages: 11-12 yrs old Grade level: 5th

  7. Area cheatsheet

    Area cheatsheet Supplements the Area lesson Example areas Some example areas and their dimensions to help start with making block areas. Area Height Width ------------------- 15 = 5 x 3 16 = 4 …

  8. Constant - minecraft.makecode.com

    A common mathematical constant value. There are several constant values that are important in calculations for science and engineering. The constant block provides several that you can use in …

  9. constrain - minecraft.makecode.com

    So, if 15 is constrained within a range of 3 to 10, then Math.constrain(15, 6, 10) will return 10. Also, if 3 is constrained to the same range, Math.constrain(3, 6, 10) will return 6.

  10. Random - Microsoft MakeCode

    Returns a floating-point, pseudo-random number in the range <code>[0, 1);</code> that is, from <code>0</code> (inclusive) up to but not including <code>1</code> (exclusive), which you can then …