Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要将写入的数字转换为整数值。因此,如果我输入 24 或 2014,我应该能够在我的函数中将其解释为 2014。我已经尝试过 AMAZON.DATE 和 AMAZON.NUMBER,但效果并不令人满意。
找到了解决方案,亚马逊提供了一个内置的插槽类型 AMAZON.FOUR_DIGIT_NUMBER 解决了我的目的。