Percentage - LiamRiddell/obsidian-solve GitHub Wiki

The percentage provider is your key to effortlessly navigating the world of percentages with Obsidian Solve. Whether you're calculating increases, decreases, or simply determining the percentage of a value, this guide will help you master all operations.

Supported Primitives 📚

Diving into percentage calculations requires a grasp of some basic mathematical elements. Let's familiarize ourselves with the fundamental blocks that will be central to your calculations:

  1. Positive Number: Just your typical number without any preceding sign, e.g., 123.
  2. Negative Number: This one's marked by a minus sign in front, e.g., -45.
  3. Number: A versatile entity, encapsulating both whole numbers and their fractional counterparts.

Supported Patterns 🧩

Percentage Of 📊

The percentage of pattern is your go-to formula when you're aiming to derive a % of any number, be it whole or fractional.

// Example 📝
10% of 20

Break it down, and you'll find that 10% of 20 gives you a neat 2.


Percentage Increase/Decrease ⬆️⬇️

With the percentage increase/decrease pattern, you can effortlessly gauge the percentage alteration a number undergoes when transitioning from an initial to a final value.

// Example 📝
800 to 1000

A glance at this tells you there's been a 25% surge. And if you're wondering, yes, this pattern gracefully handles decreases as well; simply kick-off with a loftier number and bring it down a notch.


Increase/Decrease By Percentage 🔍

Ever had to amplify or slash a number by a certain percentage? The increase/decrease by percentage pattern is just what you need!

// Example 📝
increase 100 by 25%

Do the math, and voila! You'll be staring at 125.

⚠️ **GitHub.com Fallback** ⚠️