Skip to Content
0
Aug 07, 2020 at 07:31 AM

Rounding a number upto two decimal places

89 Views

Hi Team,

I need to use a helper that will format a decimal number and keep only 2 numbers after the decimal.

example : Now we are getting reponse as 542.87000000 and I want to display it as 542.87

There is no helper that I can use for the above requirement. Can you please help here?

Regards,

Nisha