OPEN-SOURCE SCRIPT

Function - Integral Price

Function to convert floating numeric price to its *integral* value, ex: 1.2345 --> 12345.

integral might not be the right name, so pardon my engrish :p.
digitsfunctionINTEGRALValue

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer