The conversion between {calc.labels.in1.toLowerCase()} and {calc.labels.in2.toLowerCase()} uses a fixed multiplication factor. One {calc.labels.in1.toLowerCase().replace(/s$/, '')} equals {calc.factor}{calc.offset ? ` plus an offset of ${calc.offset}` : ''} {calc.labels.in2.toLowerCase()}. {#if calc.offset} This offset is common in temperature conversions, where scales differ not just in magnitude but also in their zero point. {/if}
To convert, multiply the value in {calc.labels.in1.toLowerCase()} by {calc.factor}{calc.offset ? `, then add ${calc.offset}` : ''}. To convert in the opposite direction, {calc.offset ? `subtract ${calc.offset}, then ` : ''}divide by {calc.factor}.
{:else if calc.type === '3col' || calc.type === '3col-mul'}This is a three-variable conversion. Enter any two of the three values — {calc.labels.in1}, {calc.labels.in2}, and {calc.labels.in3} — and the third will be calculated automatically.
{:else if calc.type === 'base'}Number system conversion between base-{calc.fromBase} ({calc.labels.in1.toLowerCase()}) and base-{calc.toBase} ({calc.labels.in2.toLowerCase()}). Enter a value in either field and the equivalent representation will appear in the other.
{:else}Enter a value in the field for {calc.labels.in1.toLowerCase()} and the equivalent in {calc.labels.in2.toLowerCase()} will be calculated instantly. The conversion works bidirectionally — modify either field and the other updates in real time.
{/if} {/if}