How to add text to the output of an expression?

I have a single number 53.023104 going in to my expression component >Format("{0:0.00}",x)< on the x input. I want to append the text > ± 2.5<. What is the best way to do that?


Hi @rcmcdougle,

Is this a GH question?

– Dale

Yes… I am working on populating layout data from spreadsheet using Grasshopper.

Thanks Dale… I missed the categorization opportunity.

x&" ± 2.5"

Tx Riccardo - That works… when added as a second Expression component. Is there a way to do this in one expression component?

Just add it directly to your formatting string:

Format("{0:0.00} ± 2.5",x)

Perfect… Thanks.

1 Like