We have four APIs for fetching the price. The v2GetPrice and v3GetPrice will return the real price (1 token1 = X token2) based on the token amount in contract (not considering decimal). If you want the user-facing price, you should use v2GetPriceWithDecimals and v3GetPriceWithDecimals. However, you have to pass the decimals of both tokens.