Getting different decimal places of number in preview and response tab in Chrome developer...

Discussão em 'Angular' iniciado por Dacili, Setembro 24, 2024.

  1. Dacili

    Dacili Guest

    I hit some API, and in Preview tab, I'm getting object property of type Number with 1 decimal place, and in Response tab I'm getting number with 2 decimal places. What is the cause of this? I saw similar questions, but mostly all of them had issues with long int number, but it's not that scenario in my case.

    Preview tab:
    [​IMG]
    Response tab:
    [​IMG]

    Continue reading...

Compartilhe esta Página