Revert "Improve scientific notation formatting"
This reverts commit ca7632bf25.
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
import QuickDefinitionCard from '$lib/components/QuickDefinitionCard.svelte';
|
||||
import QuickConversionExample from '$lib/components/QuickConversionExample.svelte';
|
||||
import QuickConversionTable from '$lib/components/QuickConversionTable.svelte';
|
||||
import ScientificNotationValue from '$lib/components/ScientificNotationValue.svelte';
|
||||
|
||||
export let config: CalculatorDef;
|
||||
export let showTitle = true;
|
||||
@@ -148,9 +147,7 @@
|
||||
</button>
|
||||
{#if config.factor && config.type === 'standard'}
|
||||
<span class="formula-hint">
|
||||
1 {config.labels.in1} =
|
||||
<ScientificNotationValue value={config.factor} />
|
||||
{config.offset ? ` + ${config.offset}` : ''} {config.labels.in2}
|
||||
1 {config.labels.in1} = {config.factor}{config.offset ? ` + ${config.offset}` : ''} {config.labels.in2}
|
||||
</span>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user