0

I am getting back a response to price like 2511 which is actually 25.11, it didn't convert it in response. I want to add a . to the last two digits of a number so that I can convert it into cents. How can I do that? when I try diving the number by 100, it didn't work for numbers which have 00 in the last of them, so for like 100 I want to convert it into 1.00, it will give 1 when divided by 100.

Leith
  • 135
  • 10

0 Answers0