Converts a given amount in Iranian Rials to Tomans.
In Iran, 1 Toman is equivalent to 10 Rials. This function performs the conversion by dividing the input value in Rials by 10.
The amount in Iranian Rials to be converted.
const tomans = convertRialToToman(10000);console.log(tomans); // Outputs: 1000 Copy
const tomans = convertRialToToman(10000);console.log(tomans); // Outputs: 1000
Converts a given amount in Iranian Rials to Tomans.
In Iran, 1 Toman is equivalent to 10 Rials. This function performs the conversion by dividing the input value in Rials by 10.