TradingView
KryptoNight
13 Okt 2019 pukul 17.51

Number of digits before and after the decimal point - Function 

Bitcoin / US Dollar Perpetual Inverse Swap ContractBitMEX

Huraian

Function - Number of digits before and after the decimal point

Detect the number of digits in integers and floats, before the decimal and after it.
It also works for negative numbers.

There are some rounding issues, but the currently maximum supported number can have safely up to 3 digits after the decimal point.
Komen
Dadoo_
it's brillant, thank you
Lebih