$set(
'total',
Number::format(
$subtotal,
maxPrecision: 2
)
); // The format results in something like 596,490, which isn't working for decimals.
$set(
'total',
Number::format(
$subtotal,
maxPrecision: 2
)
); // The format results in something like 596,490, which isn't working for decimals.