Try like this using TextUtils extension and @Taifun 's textbox extension. Modified @Anke 's blocks to work with MIT App Inventor
Design, two textboxes, both set to numbers only, one is hidden
Blocks
Result
Try like this using TextUtils extension and @Taifun 's textbox extension. Modified @Anke 's blocks to work with MIT App Inventor
Design, two textboxes, both set to numbers only, one is hidden
Blocks
Result