39
Views
3
Comments
Solved
[NumbersToWords] For all '19' it returns nine, instead of nineteen
Question
numberstowords
Service icon
Forge asset by António Pereira

Hi,


There's an issue with this extension: when we want to convert any number that includes a '19' (nineteen), it returns a nine. For instance:

19 -> nine

2019 -> two thousand and nine


Thanks.

2018-09-17 17-23-14
Fábio Rico
Solution

I think the solution is to put the  >= here:

2018-09-27 18-20-33
Swatantra Kumar
Champion

I just hoped on the component page to download (for debugging) and noticed the description of the page itself claims the 2019: two thousand and nineteen

While the try now returns the outcome as you have pointed out. Good finding.

2021-09-10 14-03-53
Salman Ansari

Catarina Amador wrote:

Hi,


There's an issue with this extension: when we want to convert any number that includes a '19' (nineteen), it returns a nine. For instance:

19 -> nine

2019 -> two thousand and nine


Thanks.


Hi Catarina,


You can use below component to resolve above problem.Hope this helps.

https://www.outsystems.com/forge/component-overview/8359/numbers-to-words-with-decimal

2018-09-17 17-23-14
Fábio Rico
Solution

I think the solution is to put the  >= here:

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