cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

NUMBER type for a classification attribute always considering 3 digits after decimal while updating through product cockpit, Any idea why its happening ?

Former Member
0 Likes
284

classification attribute of type "NUMBER" always getting set to 3 digits after decimal, Through product cockpit.Though the value getting persisted correctly, say if we enter 3.66678 it's getting set to 3.667 or something around this But the persisted value will be 3.66678

Thanks, Ankit

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi Ankit,

This seems like it is related to frontend only. Try changing the number editor. Take a look over here. The example shows the editor configured to show 2 digits after decimal. You might need to configure it to the number you want.

Best regards,

Former Member
0 Likes

Thanks for the response Bartosz .... But as it's a classification attribute, Its getting rendered via some Descriptor dynamically using an XML response . Do you have any idea whether we need to pass an explicit parameter to descriptor while component construct or how is it ??