For some reason when I try to use the coingecko api to get coin pricing it the api returns who numbers for some coins while decimals for others. I've tested this multiple times and it's always given me a whole number for the current price for bitcoin. I've compared against their site and other apis and I've never seen a whole number price. I've ran this test multiple times and it's always come back as an integer value. Has anyone experienced this issue before? The url can be accessed here, https://api.coingecko.com/api/v3/coins/markets?vs_currency=USD&order=market_cap_desc&per_page=100&page=1&sparkline=false.
