Contenu du cours
Google Spreadsheets Tutorial
Google Spreadsheets Tutorial
Working with Numbers and Integers
Will explore the topic of Working with Numbers and Integers. Functions for working with numbers and integers allow you to round numbers to whole values, find remainders, and calculate absolute values. Let's look at three key functions: INT, MOD, and ABS.
Extracting Integers
The INT function returns the integer part of a number by truncating decimal places. This function is useful when you need to round a number down to the nearest whole number, regardless of the decimal values.
Calculating Modulus
The MOD function returns the remainder when one number is divided by another. This is useful for determining remainders, identifying even and odd numbers, and solving problems involving cyclic calculations.
Calculating Absolute Values
The ABS function returns the absolute value of a number, i.e., the number without its sign. This is useful for converting negative numbers to positive in calculations where only the magnitude matters.
Task: Understanding INT, MOD, and ABS Functions
You have the following formulas in your spreadsheet:
A | Formula | Expected Result |
---|---|---|
-7.8 | =INT(A1) | ? |
11 | =MOD(A2, 4) | ? |
-15 | =ABS(A3) | ? |
Merci pour vos commentaires !