This shows you the differences between two versions of the page.
pt:string [2016/01/01 22:48] |
pt:string [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== String ===== | ||
+ | ==== Formato ==== | ||
+ | **string** ( // | ||
+ | |||
+ | ==== Descrição ==== | ||
+ | Devolve a representação alfanumérica de um número | ||
+ | |||
+ | ====Exemplo==== | ||
+ | < | ||
+ | a=1 | ||
+ | b=2 | ||
+ | print a+b | ||
+ | print string(a)+string(b) | ||
+ | </ | ||
+ | mostra | ||
+ | < | ||
+ | 3 | ||
+ | 12 | ||
+ | </ | ||
+ | |||
+ | ==== Ver também ==== | ||
+ | [[decimal|Decimal]] |