Expand my Community achievements bar.

Pattern for Decimal Fields

Avatar

Level 1

Hi Experts,

I am facing a typical situation in which the decimal places should align accordingly.

For Example I am displaying Price field and Quantity field in Adobe form in which I tried to align as shown below but got failed. Suggest some way if you had already faced and solved.

Case1:

Price     :           1500.00 EUR

Quantity1:        500      PCS

Quantity2:       500      PCS

In case of PC quantity 1 and quantity 2 whole number part should align with price field.

Case2:

Price     :           1500.00     EUR

Quantity1:         500.00     KG

Quantity2:        500.00     KG

In case of KG quantity 1 and quantity 2 whole number part and decimal part should align with price field.

Kindly throw some ideas.

Thanks in Advance.

Srinath

0 Replies