-1

我有两个分别运行良好的简码(WordPress)

[str_replace(",", ".", {rating[1]})]这个把逗号改成点

[MATH({rating[1]},"*","20")]这里我需要在乘以 20 之前将评分从逗号更改为点

我试过这个但不工作

[MATH(str_replace(",", ".", {rating[1]}),"*","20")]
4

1 回答 1

0

你可以这样做这里的参考

[$svalue = str_replace(",", ".", {rating[1]});]
[MATH({$value},"*","20");]
于 2019-04-02T11:57:10.867 回答