What is an alternative and more semantic solution to:
\define x() 25px
\define pat() ^(\d*\.?\d*)(\D+)$
<$let y={{{ 
	[<x>splitregexp<pat>!is[blank]first[]multiply[1.46]round[]]
	[<x>splitregexp<pat>!is[blank]last[]]
	:and[join[]]
    }}} >
     <<y>>
</$let>
Remarks:
Actually user enters a font size in an inputbox (e.g. x), the line height is 1.46*x.
User is allowed to enter any number/any unit e.g. 12em, 10rem, 20pt