You can do it by dividing with 10^8, refer the code below:
{
"spent":true,
"tx_index":173071723,
"type":0,
"addr":"16jXf2iHuvtPY6D9NumQBKff5mLUKCP6nA",
"value":18003000,
"n":1,
"script":"76a9143ee3b07bbcd8d9748b4f3b906fc8c5adeca0a88188ac"
}
Know Blockchain better with Blockchain Training by Intellipaat.