Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Type conversion » ?

Definition 15.4 Primary & Middle School Computer Science · Chapitre 15 — Variables and Input

A type conversion makes, from a value, the value of another type that stands for the same thing: int("12") gives the whole number 12, float("2.5") the decimal number 2.5, and str(12) the text "12".

Lire dans le chapitre →