Input Keypad

For general discussion related FlowStone
Post Reply
Setros
Posts: 3
Joined: Mon Mar 21, 2016 12:49 am

Input Keypad

Post by Setros »

Hello,
I try to tender keypad (numbers 0-9, decimal point and Enter), where I entered the number of floating point format float and the Enter key to send this number for further processing. Unfortunately, I do not know how to do it. Could someone help me.
Thanks in advance.
Setros
Posts: 3
Joined: Mon Mar 21, 2016 12:49 am

Re: Input Keypad

Post by Setros »

So I designed the keyboard. Just I do not know how to make entering a decimal point. Output need to max 1 of the fractional space.
Someone advise me?
I am sorry for my English.
Thank you.
Attachments
Numeric keyboard.fsm
(171.49 KiB) Downloaded 920 times
User avatar
MyCo
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany
Contact:

Re: Input Keypad

Post by MyCo »

You can use strings instead of integers and convert the string at the end back to floating point numbers
Attachments
Numeric keyboard 2.fsm
(171.54 KiB) Downloaded 925 times
Setros
Posts: 3
Joined: Mon Mar 21, 2016 12:49 am

Re: Input Keypad

Post by Setros »

Thank you very much. Somehow I did not realize it.
Post Reply