There seems to be a perfectly linear relationship between your input and your output, which means you can just run the values through an expression rather than try difficult find/replace logic. Would that work?

I can’t tell from looking at images. Please simplify your file as much as possible and upload it in accordance with this.

If you have a list of numbers that need to become a different list of numbers and there’s an equation for converting them, that’ll be the easiest solution. But I need to actually have the data you have otherwise I can’t tell what solution would work.

First value is 1.4 but grasshopper will generate 1
Second number is 1.4 but grasshopper will generate 1.2
I want it to follow the order shown in the panel.
Really confusing.

You mentioned that 5 and 7 were meant to be 50 and 70 but that they were changed by Grasshopper. Does that mean that you have actual numbers somewhere before you turn them into text?

No they were always fractions. But I’m really worried about my second problem. Which is geometry generation. Grasshopper takes one number from start one from the middle and one from the end it groups them but nowhere I defined the grouping. The height of the structures should follow the list from start to end.