English
Source / code snippets

input numerisch: Edit, Input$

 

Walter
for simple tack a simple Plausi of Edit-area or Input-Box on numerische input
' for Plausi of EDIT-area, input$,... on numerische input.
' Erkennt whole numbers velvet omen or.
' Dezimalzahlen up to the eingestellter Number of Dezimalstellen
' (Set("Decimals",n)/voreingestellt are lt. Help 6 Dezimalstellen)
' Erkennt NOT 10it-Potenzen as numbers, means z.B. -3.4e2

declare one$,meld$

while 1
meld$=""
one$=input$(%maxX/2 - 130,%maxY/2-40,"number prompt/Abbruch=Ende","Numerisch?","")

case one$="":break

if st$(val(one$))=ein$
' recognize whole numbers inkl omen
meld$=" is whole number"

elseif left$(st$(val(one$)),len(one$))=ein$
' recognize Point numbers inkl omen (up to amount Decimals)
meld$=" is Dezimalzahl"

else
meld$=" is NOT numerisch"

endif

messagebox(one$+meld$,"Numerisch?",0)

endwhile
 
03/31/19  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.480 Views

Untitledvor 0 min.
RudiB.03/03/24
Stefan8111/08/23
Axel Berse04/05/21
macuto02/01/21
More...

Themeninformationen

this Topic has 1 subscriber:

Walter (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