Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Price value in Adobe Recommendation

Avatar

Avatar
Validate 1
Level 2
praveshn5700477
Level 2

Likes

19 likes

Total Posts

21 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
praveshn5700477
Level 2

Likes

19 likes

Total Posts

21 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
praveshn5700477
Level 2

16-10-2019

We are running recently viewed recommendation activity and we are passing "price" value in mbox parameter as entity.value (whole number only). We are using this value in Design. Problem is, the price is shown in with decimal value only. Why by default the values are coming in decimal.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 50
Employee
Shruthi_N
Employee

Likes

272 likes

Total Posts

236 posts

Correct Reply

64 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
Shruthi_N
Employee

Likes

272 likes

Total Posts

236 posts

Correct Reply

64 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
Shruthi_N
Employee

17-10-2019

praveshn57004778​ This is not explicitly mentioned in our documentation but if you check Entity attributes  you can see that entity.value is denoted with a decimal and also Customize a design using Velocity  has an example to change the decimal to a comma in the design.

Answers (2)

Answers (2)

Avatar

Avatar
Give Back 50
Employee
Shruthi_N
Employee

Likes

272 likes

Total Posts

236 posts

Correct Reply

64 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
Shruthi_N
Employee

Likes

272 likes

Total Posts

236 posts

Correct Reply

64 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
Shruthi_N
Employee

16-10-2019

praveshn57004778​  entity.value is a float in Recs but you can format it as a whole number in the design template. Or if you want it to be formatted differently on the storage side, they you can pass it in a custom field and not as entity.value.

Hope this helps answer your question.

Avatar

Avatar
Validate 1
Level 2
praveshn5700477
Level 2

Likes

19 likes

Total Posts

21 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
praveshn5700477
Level 2

Likes

19 likes

Total Posts

21 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
praveshn5700477
Level 2

16-10-2019

Shruthi Naomi​ Thats helpfull. Can you provide a document stating the same as i have seen in many forums where customer are saying the otherwise. It would be really helpfull