AMAZON.NUMBER - Amazon Lex V1

If you are using Amazon Lex V2, refer to the Amazon Lex V2 guide instead.

 

If you are using Amazon Lex V1, we recommend upgrading your bots to Amazon Lex V2. We are no longer adding new features to V1 and strongly recommend using V2 for all new bots.

AMAZON.NUMBER

Converts words or numbers that express a number into digits, including decimal numbers. The following table shows how the AMAZON.NUMBER slot type captures numeric words.

Input Response
one hundred twenty three point four five 123.45
one hundred twenty three dot four five 123.45
point four two 0.42
point forty two 0.42
232.998 232.998
50 50