Dropdown choices update text (but not the same value)

I’ve been exploring above and have tried to start summing some example text, however, the output seems to be incorrect. I think I’m having trouble converting text to numbers and summing those. I have the below code but below result

export function dropdownfilter_change ( event ) {
$w ( ‘#text46’ ). text = String ( Number ( $w ( ‘#text45’ ). text ) + Number ( $w ( ‘#text14’ ). text ));
}

2.07 =#text45 2.4=#text14
but when trying to sum the text converted to numbers I get the value 2?