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.
jTemplate 内に通貨を表示する必要があります。
{parseInt($T.product.Details[0].Price).toFixed(2)} は 34.50 と表示されますが、34,50 のようにカンマで表示する必要があります。
ポイントをカンマに置き換える関数をいくつか試しましたが、今のところうまくいきません。私を正しい方向に向けることができる人はいますか?
マーク
{parseInt($T.product.Details[0].Price).toFixed(2).replace('.',',')}