Manipulating how data looks in panels

The outcome on a panel is as such:

image

Is there a tool which would allow me to dispplay 106.9 kWh without of the 0 in front and the 0 on top and adding the kWh in the end?

Hey,

yes, look here: Formatting Numbers in Grasshopper - Grasshopper
Check out the comment also.

To add kWh use Grasshopper component Concatenate. It will allow you to add “kWh” to the numeric value.


format_re.gh (3.1 KB)

In this case the result does not come from a list and so does not have the 0 on the left or on top. Is there a way to get rid of those, taking a number out of a list as just the number on a panel?

Thanks a lot, ill check it out:)

format.gh (4.9 KB)

1 Like

This works perfectly, thank you:)

I already gave you the answer… Just try to replace with your number of list.


1 Like

For some reason the first time i tried it it did not work, but it does now my apologies. Thank you:)

round