2023-03-20 12:22:57 +00:00
|
|
|
using InnovEnergy.Lib.Units.Generator;
|
2023-03-01 07:14:08 +00:00
|
|
|
|
2023-03-20 12:22:57 +00:00
|
|
|
namespace InnovEnergy.Lib.Units;
|
2023-03-01 07:14:08 +00:00
|
|
|
|
2023-03-20 12:22:57 +00:00
|
|
|
[Generate]
|
|
|
|
public readonly partial struct Percent
|
2023-03-01 07:14:08 +00:00
|
|
|
{
|
|
|
|
public static String Unit => "%";
|
|
|
|
public static String Symbol => "%"; // ??
|
|
|
|
|
2023-03-01 07:25:23 +00:00
|
|
|
public Percent(Decimal value) => Value = value;
|
2023-03-01 07:14:08 +00:00
|
|
|
}
|