# 无法将订阅价格设置为 $19.99

**URL:** <https://meta.discourse.org/t/unable-to-set-subscription-price-to-19-99/393466>\
**Category:** Bug\
**Tags:** subscriptions\
**Created:** [2026年一月14日 17:44 UTC](https://meta.discourse.org/t/unable-to-set-subscription-price-to-19-99/393466 "2026-01-14T17:44:11Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [2026年一月15日 04:35 UTC](https://meta.discourse.org/t/unable-to-set-subscription-price-to-19-99/393466/5 "2026-01-15T04:35:55Z")

</div>

它是这样，parseFloat 用于将输入字段（“带有两位小数的货币”）转换为/从其转换。unit\_amount 对象属性显然是无类型的，因此我建议使用 Math.round()

它不是服务器端的列，而是传递给 Stripe API 的。

---

_[View the full topic](https://meta.discourse.org/t/unable-to-set-subscription-price-to-19-99/393466)._
