num.Formatter now allows for a NegativeTemplate property to be able to output -10.20 as (10.20) for example.
Added more tests around numbers in general.
num.Percentage no longer extends num.Amount, instead it defines its own methods and provides an Amount() method that will respond with the factored percentage value, i.e. if the percentage is 16.0%, the Amount() method will provide 16.0.
num.Formatter
now allows for aNegativeTemplate
property to be able to output-10.20
as(10.20)
for example.num.Percentage
no longer extendsnum.Amount
, instead it defines its own methods and provides anAmount()
method that will respond with the factored percentage value, i.e. if the percentage is16.0%
, theAmount()
method will provide16.0
.