Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Pattern for decimal points

Avatar

Former Community Member

I will be receiving this in my xml 1,345.444, i need to only display 2 decimal points (1,345.44). Can anyone help me with this? Becuase my incoming value has a coma, the patterns in adobe display a zero 0.

1 Reply

Avatar

Former Community Member

Try

display pattern num{z,zzz,zz9.99}

data pattern num{z,zzz,zz9.999}

Steve