Innovenergy_trunk/csharp/Lib/Units/Percent.cs

12 lines
267 B
C#
Raw Normal View History

using InnovEnergy.Lib.Units.Generator;
2023-03-01 07:14:08 +00:00
namespace InnovEnergy.Lib.Units;
2023-03-01 07:14:08 +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
}