-
### Discussed in https://github.com/ferraridamiano/ConverterNOW/discussions/147
Originally posted by **trymeouteh** April 26, 2022
When converting from metric to imperial in many units such as…
-
See spec-tests:
* ValueLiteralsAndSelectors.Decimal.Decimal10Pow28ToZeroOneStepDecimalMaxValue
* ValueLiteralsAndSelectors.Decimal.DecimalPos10Pow28ToZeroOneStepDecimalMaxValue
* ValueLiteralsAndSe…
-
Currently validates for whole numbers and no negative numbers.
-
```
addThousandSeperator(123456789, true) would return 123.456.789
addThousandSeperator(123456789, false) would return 123,456,789
formatDecimals(123.456789, 2, true) would return 123,46
formatDecima…
-
When the Chainlink Oracle has calculated a relative price between two assets, it results in a `price`, which is always represented in 18 decimals. This price is used to convert the passed `baseAmount`…
-
When copying parameters from one scenario to another, without modifications, the amount of decimal places increases dramatically. i.e. a parameter which originally had a value of 1.0, will end up as 1…
-
```
addThousandSeperator(123456789, true) would return 123.456.789
addThousandSeperator(123456789, false) would return 123,456,789
formatDecimals(123.456789, 2, true) would return 123,46
formatDecima…
-
```
addThousandSeperator(123456789, true) would return 123.456.789
addThousandSeperator(123456789, false) would return 123,456,789
formatDecimals(123.456789, 2, true) would return 123,46
formatDecima…
-
Thank you for your sharing, I found this script really useful.
But how can I let the user(participant) input special symbols? Like decimals with a little"."? Currently if I type ".", there is nothing…
-
```
addThousandSeperator(123456789, true) would return 123.456.789
addThousandSeperator(123456789, false) would return 123,456,789
formatDecimals(123.456789, 2, true) would return 123,46
formatDecima…