This shows you the differences between two versions of the page.
pt:int [2016/01/01 22:48] |
pt:int [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Int ===== | ||
+ | ==== Formato ==== | ||
+ | int ( // | ||
+ | ==== Descrição ==== | ||
+ | Converte // | ||
+ | |||
+ | ==== Exemplo ==== | ||
+ | < | ||
+ | a$=" | ||
+ | print int(a$) | ||
+ | print int(123.4) | ||
+ | </ | ||
+ | mostra | ||
+ | < | ||
+ | 123 | ||
+ | 123 | ||
+ | </ | ||
+ | |||
+ | ==== Ver também ==== | ||
+ | [[float|Float]] | ||