Simple issue but couldn't find solution. When I run a console to interact with a function that returns uint in a smart contract, it shows in hexadecimal notation. Like this:
<BN: a>
(meaning the value 10 in decimal)
How do I specify the output format so I can see the value in decimal? I don't think it's necessary for that matter, but the coding is as follows:
uint dist;
function getDist() public view returns (uint distancia){
return dist;
}