🚲

Simplified Progress Bar

Master Tag
Tips & Tricks
Created
Jun 5, 2020 02:06 PM
Usage
Slice
Divide
Format
Multiply
Web Tags
Database
Formula
Cover
Simple Progress Formula
Name
Pages
Pages Read
Progress
200
118
200
120
200
49
200
94
200
187
200
105
200
200
200
10
Formula
Formula: slice("βŒ¬βŒ¬βŒ¬βŒ¬βŒ¬βŒ¬βŒ¬βŒ¬βŒ¬βœ“", 0, prop("Pages Read") / prop("Pages") * 10) + " " + format(round(prop("Pages Read") / prop("Pages") * 100)) + "%"

The Breakdown

  • slice("βŒ¬βŒ¬βŒ¬βŒ¬βŒ¬βŒ¬βŒ¬βŒ¬βŒ¬βœ“", 0, prop("Pages Read") / prop("Pages") * 10)
      • take what your progress bar looks like at 100% ...
      • AND slice 0 characters from left to right ...
      • AND whatever the result of property "Pages Read" divided by property "Pages" multiplied by 10 from right to left.
  • + " " - the addition of an empty space.
  • + format(prop("Pages Read") / prop("Pages") * 100) - the addition of what results from the following calculation
    • property "pages Read divided by property "Pages" multiplied by 100.
  • + "%" - the addition of the percentage sign
Β