为函数参数指定的值无效。 函数名称:Multiply 参数名称:Value2 参数序号:2 参数类型:数字 提交的值:在这个错误中,我们看到为 Multiply(1,2) 函数中的第二个参数提交的值为 NULL 或空值。
| ContactKey (abc) | EmailAddress (@) | OrderNumber (abc) | Price (.00) | DiscountPrice (.00) |
|---|---|---|---|---|
| Example1 | Example1@example.com | 12345 | 100.00 | 80.00 |
| Example2 | Example2@example.com | 23456 | 108.00 |
%%[
Set @price = Lookup("OrderConfirmation","DiscountPrice","ContactKey",_subscriberkey)
Set @tax = "0.08"
]%%
Price: %%=v(@price)=%%
<br><br>
%%[SET @total = FormatNumber(multiply(@price,@tax),"C2", "en-US")]%%
Price with Logic: %%=v(@price)=%%
<br><br>
Your tax is %%=v(@total)=%%
为函数参数指定的值无效。 函数名称:Multiply 参数名称:Value1 参数序号:1 参数类型:数字 提交的值:
%%[
Set @price = Lookup("OrderConfirmation","DiscountPrice","ContactKey",_subscriberkey)
Set @tax = "0.08"
]%%
Price: %%=v(@price)=%%
<br><br>
%%[IF empty(@price) THEN
SET @price= Lookup("OrderConfirmation","Price","ContactKey",_subscriberkey)
ENDIF]%%
%%[SET @total = FormatNumber(multiply(@price,@tax),"C2", "en-US")]%%
Price with Logic: %%=v(@price)=%%
<br><br>
Your tax is %%=v(@total)=%%
000393055

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.