namespace Daybreak.Shared.Services.Formatting;
///
/// Renders a numeric skill resource cost (energy, recharge, activation, etc.)
/// using the wiki's fraction glyphs (¼/½/¾) where applicable, mirroring how
/// the source wiki presents these numbers so the UI matches what players
/// already recognise.
///
public interface ISkillNumberFormatter
{
///
/// Renders an integer/decimal/quarter-fraction cost. Returns
/// for null.
///
string Format(double? value);
///
/// Renders a value stored as a unit fraction (e.g. 0.15) back as
/// a rounded percentage ("15%"). Used by the few skill fields
/// that the wiki originally expressed as percentages — currently just
/// the blood-magic Sacrifice cost.
///
string FormatPercent(double? value);
}