Percentage


Project maintained by profezzorn Hosted on GitHub Pages — Theme by mattgraham

Usage 🔗

Percentage<F, V>

Arguments 🔗

Description 🔗

Gets Percentage V of value F, Percentages over 100% are allowed and will effectively be a multiplier. example Percentage<Int<16384>,25> this will give you 25% of Int<16384> and returns Int<4096>

See Also 🔗

Mult, Int

Source Link 🔗

https://github.com/profezzorn/ProffieOS/blob/6f8add544c627172ad2dd698c90e5e55078a420a/functions/mult.h#L51