26
Views
3
Comments
Solved
[NumbersToWords] For all '19' it returns nine, instead of nineteen
Question
Forge component by António Pereira
1
Published on 28 Apr 2019

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.

Rank: #3854
Solution

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

Rank: #109

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.

Rank: #43

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

Rank: #3854
Solution

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