{% extends 'index.html' %} {% block title %} Infinite Arbitrary Base Conversion Calculator {% end %} {% block main %}

Infinite Arbitrary Base Conversion Calculator

{% if message %}
Error in your calculation: {{ message }}
{% end %} {% for index, field in enumerate(form) %}
{% raw field.label(class_='control-label') %}
{% raw field(class_='form-control') %} {% for error in field.errors %}
{{ error }}
{% end %}
{% if index == 1 %}
{% elif index == 3 %} {% end %} {% end %}

Examples:

This is a form to convert numbers in arbitrary bases with no limits in integers. The computation is done on the server side. It uses the algorithm described in here except rindex is used instead for duplicate letters such as extra 0. Inspired by this JavaScript implementation.

{% block index_scripts %}{% end %} {% end %}