protofire / omen-exchange

Omen exchange
https://omen.eth.link/
GNU Affero General Public License v3.0
67 stars 78 forks source link

bigNumberToString fn should also format `< x.xx1` #2214

Open Frankaus opened 3 years ago

Frankaus commented 3 years ago

Currently the new formatting function bigNumberToString formats a small number with 2 decimals with <0.01 when its argument strict is set to false.

It should do the same job with 3 decimals: <0.001