Skip to main content

Dear Sir/Madam,

 

I am trying to output a VF Page of TotalPrice up to 2 Decimals, but I don't want to Round it.

 

I am using Output Param {0, number, 00.00}

 

Example:

 

100244.2 -> 100244.20

81855.38992 -> 81855.38

40370.2054266 -> 40370.20

 

Appreciate your assistance!

 

Best;

4 answers
  1. Dec 9, 2022, 8:07 AM

    Hi @Divya Chauhan,

     

    The issue is that 000,000.00 is rounding at 2nd Decimal position. I need to keep an unrounded value in VFPage

     

    Best;

0/9000