<reponame>wallysalami/gamified-education
from django import template

register = template.Library()

@register.filter
def to_stroke_dashoffset(value):
    return int(402 * (1 - value))
from django import template

register = template.Library()

@register.filter
def to_stroke_dashoffset(value):
    return int(402 * (1 - value))