I have the following text scraped from a URL as strings:

```
1.15M 
3.75M 
1.7M 
4.19M 
1.81M 
351.65K 

```

"M" stands for million and "K" for thousand

I am struggling to get the right code to change this to full integers:

```
1150000
3750000
1700000
4190000
1810000
351650

```

For all items there can also be variations like `1.5K`or `23.2K`or `25.254M` so I find it hard to write a logic that covers this (still new to coding).

Any idea?