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.
オブジェクトがあります - これを「注文」と呼びます このオブジェクトにはプロパティがあります - 合計。これは型です - 10 進数 (金額の値です)
私のテンプレートには次のようなものがあります:
注文合計: $order.Total GBP
ただし、結果のマージでは、次のようになります。
注文合計: 3.4000 GBP
3.40用
nvelocity に小数点以下 2 桁でフォーマットするように指示する方法はありますか??