This shows you the differences between two versions of the page.
de:int [2016/01/01 22:37] |
de:int [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Int ===== | ||
+ | ==== Format ==== | ||
+ | int ( // | ||
+ | int ( // | ||
+ | ==== Beschreibung ==== | ||
+ | Umwandlung in eine ganze Zahl (Integer). Int() schneidet die Dezimalstellen einer Fließkommazahl ab oder wandelt eine Zeichenkette (String) in eine ganze Zahl um. | ||
+ | ==== Beispiel ==== | ||
+ | c$ = " | ||
+ | | ||
+ | print c$ | ||
+ | print i | ||
+ | |||
+ | ==== Ausgabe ==== | ||
+ | 12a | ||
+ | 12 |