Course of Raku / Essentials / More about types / Data type conversion

Exercises: Data type conversion

This section contains 3 exercises.

  1. True and False numbers
  2. True and False strings
  3. Fractional part

Refresh your knowledge

Refer to the contents of this section to find the answers if needed.

  • Data type conversion
    • Introspection with WHAT
    • Converting types using type coercion methods
    • Converting types using constructor forms
    • Converting types with prefix operators

Course navigation

← True and False numbers

This page in other languages: English Deutsch Esperanto Español Italiano Latina Latviešu Nederlands Български Русский Українська

The Complete Course of the Raku Programming Language

About the course · Raku.org · Raku Playground · GitHub

Free and open source · Supported by The Perl & Raku Foundation

© 2021–2026 · Written by Andrew Shitov