Skip to Content
0
Sep 10, 2020 at 12:48 PM

How to convert char field value to decimal

1009 Views

Hi Experts,

I have requirement to convert from char field value to decimal.

Example -

char type field value = 314500

i want to convert it to decimal with 2 mean my expected result should - 3145.00

I tried to use pack syntax but in side class method pack will not work, anyone can suggest.

Thanks