Jump to content

Input'a Sadece Sayı Yazabilmek?


injuste
 Share

Recommended Posts

Autoplay Media Studio'da oluşturduğum input'a sadece sayı girilmesini istiyorum yani yazı girilemesin mesela "75.3" girilebilsin ama "7a5.3" girilemesin bunun başka bir yolunu buldum fakat oda benim işime yaramıyor.Açıkçası işi bozan bir kod daha [b]düzgün bir biçimde sadece sayı girilebilecek bir input oluşturabilmek mümkün değilmi?
[/b]
[code]
deger=Input.GetText("Input1")
bir=String.ToNumber(deger)
if (bir==0) then
Dialog.Message("Uyarı","Lütfen sayı girin.")
else
[/code]
Link to comment
Share on other sites

[font="Trebuchet MS"][size="2"]Input Ayarları > Input Style > Input Mask > Options > Input Mask[/size][/font]
[font="Trebuchet MS"] [/font]
[font="Trebuchet MS"][size="2"]ayarını ###,## yap...[/size][/font]

Edited by Yusuf-Yildiz
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...