Coinbase integration: Make 'amount in native currency' a float

I’ve got the Coinbase integration set up, and can see how much of each coin I have (etc. 0.002 BTC or whatever). I can also see how much that equates to in my native currency (e.g. $93.90 AUD), but I want to add my two lots of crypto together to see my total portfolio value in AUD.

The issue is, Balance in native currency is returned as a string, not as a float. What I’d like to see is, the balance as one attribute, and the currency as a separate attribute, so I still have the option of concatenating the balance and the currency (e.g. $ + 93.90 + AUD)

Or even a new sensor that just shows the total portfolio value in your native currency.

There might be a better way, but this should give you the 3 separate parts.
You can choose which one you want and implement it into a template sensor…

{% set my_money = "$93.90 AUD" %}
The Symbol is {{ my_money[0]}}
The Amount is {{ float(my_money.split(" ")[0][1:])}}
The CCY is {{ my_money.split(" ")[1]}}

the output is:

The Symbol is $
The Amount is 93.9
The CCY is AUD

sorry that’s not clear enough. I would need an ELI5