Format balance availablefrom facebook api

I am trying to get the balance that a facebook ad account has positive or negative, however, I am following the facebook documentation and the same says that the field is "balance", below I am putting the print taken from the facebook documentation.

enter image description here

I’m getting this value according to the documentation the problem is that I don’t know how to format the value correctly, the value is coming without a decimal separator, has anyone been there?
How do I know when to format the value with decimal or not?

Below is the printout of my return that I’m getting from the API.

enter image description here

Source: Facebook SDK Questions

LEAVE A COMMENT