English
Functions and Help

§ 5 - Datentypen

 
§ 5 - Datentypen

zerocan only zero his (Procedures-Parameter unterladener Procedures are z.B. zero)
boolboolean, can true or false his
longganzzahliger Zahlenwert, -9223372036854775808 To 9223372036854775807
floatFließkommazahl
stringZeichenkette
arayDatenkette

Typenkonvertierung:

The komplexere type certainly whom type the Ergebnisses, so mostly without Datenverlust konvertiert go can. as "komplexer" counts in this Order: aray, String, Float, Long, Bool, zero

Related:



Keywords: Datentypen, variables, Types

 
01/12/15  
 




HofK
iF (12.01.15)
§ 5 - Datentypen
...
float, Fließkommazahl, prozessorabhänige wide
...


the can we time useful hither look at.

Beautiful thereby:

Übertreibt one it with the Exponenten, so becomes Infinity outputted. this is of course gemogelt, but what over the "Horizont" the floating point unit hinausgeht, is for tappt im dunkeln infinite.
for me is already the moon infinite far away - for astronauts hold not.
CompileMarkSeparation
// Zahlentest
var tx1 = "Bitte a Dezimalzahl prompt (Dezimalpunkt!)
then to ^ The Potenz"
var tx2 = "große/small Fließkommazahlen (float)"
msg msg.box, tx1, tx2, "OK",  "100.002^12", potenzbox

proc potenzbox btn txt

    txt=trim txt
    print " txt " + txt
    print "len txt " + len txt
    var pospot = st txt "^"
    print " position ^ " + pospot
    var base = st txt 1 pospot-1
    print " Base " + base
    var expon = st txt pospot+1 len(txt)-pospot
    print " Expon " + expon
    var potenz = base
    var i=1

    while i<long(expon)

        i++
        potenz=potenz*base
        // print "Teilpot. " + potenz

    wend

    print "potenz="+potenz

endproc

 
11/23/15  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.533 Views

Untitledvor 0 min.
Sven Bader07/05/21
AndreasS05/16/16
Nico Madysa03/28/16
iF03/08/16
More...

Themeninformationen

this Topic has 2 subscriber:

HofK (1x)
iF (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie