A percentage. fraction is exact: 7.5 % is 0.075. A Percent is immutable.
fraction
0.075
Percent
Readonly
Returns true if both percents have the same fraction.
true
Gives the value in a unit: in('percent') of 0.075 is 7.5.
in('percent')
7.5
Gives the fraction as the nearest number.
number
Static
Makes a Percent from a fraction, where 1 is 100 %.
A percentage.
fractionis exact: 7.5 % is0.075. APercentis immutable.