This shows you the differences between two versions of the page.
nl:float [2016/01/01 22:46] |
nl:float [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Float ===== | ||
+ | ==== Formaat ==== | ||
+ | float ( // | ||
+ | ==== Beschrijving | ||
+ | De functie converteert // | ||
+ | Float converteert zowel een integer getal als een string naar een decimaal getal.\\ | ||
+ | Indien de conversie niet lukt, wordt nul weergegeven ! | ||
+ | ==== Zie Ook==== | ||
+ | [[int|Int]] | ||
+ | <code basic4gl> | ||
+ | a$= " | ||
+ | print a$ | ||
+ | print float(a$) | ||
+ | </ | ||
+ | toont | ||
+ | < | ||
+ | 5/10 | ||
+ | 5 | ||
+ | </ | ||
+ | ==== Nieuw vanaf ==== | ||
+ | 0.9.4 | ||
+ | |||
+ | |||
+ | ---- | ||
+ | [[exp|vorige]] | [[mathematical|Wiskundige Functies]] | [[floor|volgende]] |