2023-03-20 12:22:57 +00:00
|
|
|
namespace InnovEnergy.Lib.Units;
|
2023-03-01 07:14:08 +00:00
|
|
|
|
2023-06-13 11:03:49 +00:00
|
|
|
public sealed class Percent : Unit
|
2023-03-01 07:14:08 +00:00
|
|
|
{
|
2023-06-13 11:03:49 +00:00
|
|
|
public override String Symbol => "%";
|
|
|
|
|
|
|
|
public Percent(Double value) : base(value)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public static implicit operator Percent(Double d) => new Percent(d);
|
|
|
|
public static implicit operator Double(Percent d) => d.Value;
|
2023-03-01 07:14:08 +00:00
|
|
|
}
|