| <template> | 
|     <template if:true={showInputOrText}> | 
|         <lightning-input type="number" variant="label-hidden" value={inputValue} onchange={changeInputValue}></lightning-input> | 
|     </template> | 
|     <template if:false={showInputOrText}> | 
|         <div style="text-align: right;"> | 
|             <lightning-formatted-number style="margin-left: 10px;" value={inputValue}></lightning-formatted-number> | 
|         </div> | 
|     </template> | 
| </template> |