184
Views
3
Comments
How to write a number in text 
Question

Hi! I am new to the Ousystems platform and I came to ask you're help.


I want the user to write a number type, between 1 and 10, for e.g. "1" and the page will return "one".

Does anyone knows how to help me? 



Thank you so much for the help!!

2016-04-21 20-09-55
J.
 
MVP

Hi,

just a switch-statement, if it's easy.

otherwise implement this

https://www.blackbeltcoder.com/Articles/strings/converting-numbers-to-words


2018-01-19 03-18-31
indra budiantho

Andreia Gaspar wrote:

Hi! I am new to the Ousystems platform and I came to ask you're help.


I want the user to write a number type, between 1 and 10, for e.g. "1" and the page will return "one".

Does anyone knows how to help me? 



Thank you so much for the help!!

here is the .oml using switch widget


onetwo.oml
2020-05-29 14-07-58
Rajendra Singh

Hi Andreia Gaspar, You can use Number to text Extension to convert number to text. 

https://www.outsystems.com/forge/component/1217/number-to-word/




Thanks

Rajendra Singh

                          

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.