Skip to main content
added 32 characters in body
Source Link
Gortonington
  • 30.8k
  • 3
  • 27
  • 64

I'd like to multiply the quantity value I have stored in my DE by 1.25. The DE field is set to number. I've named the variable @Pens@Pens. I created another variable @PensCost@PensCost to store the value of @Pens x 1.25@Pens x 1.25.

I've tried SET @PensCost = Multiply(@Pens, 1.25):

SET @PensCost = Multiply(@Pens, 1.25) 

but I get an error message "Multiply Parameter Name: Value1 Parameter Ordinal: 1 Parameter Type: Numeric Submitted." What am I doing wrong?

Multiply Parameter Name: Value1 Parameter Ordinal: 1 Parameter Type: Numeric Submitted." What am I doing wrong?

I've used this same format for other products and it's working fine. When I use %%=v(@Pens)=%%%%=v(@Pens)=%% it returns the quantity number so I know my variable does have data.

More detailed code: %%[ VAR @Pens, @PensCost SET @Pens = AttributeValue("PAPERMATE PENS BLUE FINE POINT 15 ct") SET @PensCost = Multiply(@Pens, 1.25) ]%% %%=v(@PensCost)=%%

%%[ 
VAR @Pens, @PensCost
SET @Pens = AttributeValue("PAPERMATE PENS BLUE FINE POINT 15 ct")
SET @PensCost = Multiply(@Pens, 1.25) 
]%%
%%=v(@PensCost)=%%

I'd like to multiply the quantity value I have stored in my DE by 1.25. The DE field is set to number. I've named the variable @Pens. I created another variable @PensCost to store the value of @Pens x 1.25.

I've tried SET @PensCost = Multiply(@Pens, 1.25)

but I get an error message "Multiply Parameter Name: Value1 Parameter Ordinal: 1 Parameter Type: Numeric Submitted." What am I doing wrong?

I've used this same format for other products and it's working fine. When I use %%=v(@Pens)=%% it returns the quantity number so I know my variable does have data.

More detailed code: %%[ VAR @Pens, @PensCost SET @Pens = AttributeValue("PAPERMATE PENS BLUE FINE POINT 15 ct") SET @PensCost = Multiply(@Pens, 1.25) ]%% %%=v(@PensCost)=%%

I'd like to multiply the quantity value I have stored in my DE by 1.25. The DE field is set to number. I've named the variable @Pens. I created another variable @PensCost to store the value of @Pens x 1.25.

I've tried:

SET @PensCost = Multiply(@Pens, 1.25) 

but I get an error message:

Multiply Parameter Name: Value1 Parameter Ordinal: 1 Parameter Type: Numeric Submitted." What am I doing wrong?

I've used this same format for other products and it's working fine. When I use %%=v(@Pens)=%% it returns the quantity number so I know my variable does have data.

More detailed code:

%%[ 
VAR @Pens, @PensCost
SET @Pens = AttributeValue("PAPERMATE PENS BLUE FINE POINT 15 ct")
SET @PensCost = Multiply(@Pens, 1.25) 
]%%
%%=v(@PensCost)=%%
added 186 characters in body
Source Link

I'd like to multiply the quantity value I have stored in my DE by 1.25. The DE field is set to number. I've named the variable @Pens. I created another variable @PensCost to store the value of @Pens x 1.25.

I've tried SET @PensCost = Multiply(@Pens, 1.25)

but I get an error message "Multiply Parameter Name: Value1 Parameter Ordinal: 1 Parameter Type: Numeric Submitted." What am I doing wrong?

I've used this same format for other products and it's working fine. When I use %%=v(@Pens)=%% it returns the quantity number so I know my variable does have data.

More detailed code: %%[ VAR @Pens, @PensCost SET @Pens = AttributeValue("PAPERMATE PENS BLUE FINE POINT 15 ct") SET @PensCost = Multiply(@Pens, 1.25) ]%% %%=v(@PensCost)=%%

I'd like to multiply the quantity value I have stored in my DE by 1.25. The DE field is set to number. I've named the variable @Pens. I created another variable @PensCost to store the value of @Pens x 1.25.

I've tried SET @PensCost = Multiply(@Pens, 1.25)

but I get an error message "Multiply Parameter Name: Value1 Parameter Ordinal: 1 Parameter Type: Numeric Submitted." What am I doing wrong?

I've used this same format for other products and it's working fine. When I use %%=v(@Pens)=%% it returns the quantity number so I know my variable does have data.

I'd like to multiply the quantity value I have stored in my DE by 1.25. The DE field is set to number. I've named the variable @Pens. I created another variable @PensCost to store the value of @Pens x 1.25.

I've tried SET @PensCost = Multiply(@Pens, 1.25)

but I get an error message "Multiply Parameter Name: Value1 Parameter Ordinal: 1 Parameter Type: Numeric Submitted." What am I doing wrong?

I've used this same format for other products and it's working fine. When I use %%=v(@Pens)=%% it returns the quantity number so I know my variable does have data.

More detailed code: %%[ VAR @Pens, @PensCost SET @Pens = AttributeValue("PAPERMATE PENS BLUE FINE POINT 15 ct") SET @PensCost = Multiply(@Pens, 1.25) ]%% %%=v(@PensCost)=%%

Source Link

Multiplying a value with Ampscipt

I'd like to multiply the quantity value I have stored in my DE by 1.25. The DE field is set to number. I've named the variable @Pens. I created another variable @PensCost to store the value of @Pens x 1.25.

I've tried SET @PensCost = Multiply(@Pens, 1.25)

but I get an error message "Multiply Parameter Name: Value1 Parameter Ordinal: 1 Parameter Type: Numeric Submitted." What am I doing wrong?

I've used this same format for other products and it's working fine. When I use %%=v(@Pens)=%% it returns the quantity number so I know my variable does have data.