Conversion issue with number datatype

This works fine with Voiceflow but in Alexa i am having this issue.

I have a variable with datatype as Number but whenever i speak this

one two three four five six seven eight nine one two three four five six seven eight nine one two

output is

-6877693124509096897

Is there any limit to length of Numbers here?

If yes then how can I solve this issue?

Thanks in advance!

seems there’s no limitation written in official docs.

https://developer.amazon.com/en-US/docs/alexa/custom-skills/slot-type-reference.html#number

Alexa waits for user’s answer for only about 6-8 secs. In that case, IMO, users must speak very fast. Then, the more large numbers, the more likely Alexa may mistake.

It works as long as 19 digits. But no more if digits are greater than 19 digits like, it doesnt work for 20 and more digits

seems like AMAZON.Number is int64 and accepts -9,223,372,036,854,775,808 to +9,223,372,036,854,775,807.

have not tried but if you say “9,223,372,036,854,775,808”, it will goes -9,223,372,036,854,775,808, I think.

Hey, thank you so much for this info. I think you are correct, because anything more than 19 gets converted into negative number. So the only solution would be to break down the number. Can you tell me if there is any datatype which accepts whatever user says, like a feedback. I have made a function which takes the text and convert it into digits. So, if there is such datatype which will accept whatever user says without converting into any format would be really helpful.