TradingView
KryptoNight
13 paź 2019 17:51

Number of digits before and after the decimal point - Function 

Bitcoin / US Dollar Perpetual Inverse Swap ContractBitMEX

Opis

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.
Komentarze
Dadoo_
it's brillant, thank you
Więcej