Skip to content
KnowledgeCity

Computing with Numbers

Learn common numeric types and the techniques for converting values and strings to numbers
Preview the first lesson free — get full access to all 4 lessons.
Course: On-Demand
Beginner Provider John Crabtree  4 Lessons ·  21m  in Arabic, German, English, Spanish, French, Portuguese, Chinese 

Course Description

These lessons begin with a discussion of the most commonly used numeric types: int and float. Techniques for converting values between numeric types are discussed along with a demonstration of converting strings to numbers. The evaluation of various arithmetic expressions is covered along with a practical example of the use of floor division in conjunction with the modulo operator.

LEARNING OBJECTIVES:

What You'll Learn

  • Distinguish between the two most commonly used numeric types, int and float
  • Convert values between numeric types using practical techniques
  • Convert strings to numbers
  • Evaluate arithmetic expressions
  • Apply floor division together with the modulo operation

Key Takeaways

  • The two most commonly used numeric types are int and float.
  • Values can be converted between numeric types, and strings can be converted to numbers.
  • Arithmetic expressions can be evaluated, including a practical example of floor division used with the modulo operator.
  • The course also addresses type conversion and rounding of numeric values.

Frequently Asked Questions

What numeric types does this course cover?

It covers the two most commonly used numeric types: int and float.

What will I learn about converting values?

You will learn practical techniques for converting values between numeric types, as well as converting strings to numbers.

Does this course cover arithmetic operations?

Yes. It covers evaluating arithmetic expressions and includes a practical example of using floor division together with the modulo operator.

What lessons are included?

The lessons are Numeric Data Types, Type Conversion and Rounding, Arithmetic Expressions, and Diversions and Modulus.

What skills does this course help build?

It supports skills including numeric data types, floating point algorithm, numeracy, numeric data entry, numeric input, and type conversion.