Grasshopper

algorithmic modeling for Rhino

Hi all,

I need to convert a text to a number. I´ve looking for the command fx and the expression designer but I coldn´t find it.

Thanks in advance,

Patricia

Views: 4428

Replies to This Discussion

Hi Patricia, what text? If the text is allready a numerical value, you can just plug it into a Number or Integer component (from the Parameters > Primitive tab).
I fail to see how the image you posted is relevant b.t.w.

Hi Pieter

The text is an output from a Karamba command (MeshView)

>7.08e-01

I split the text and disgarded the > symbol but I cannot yet convert it.

I was trying to find a function in the expression editor to solve this.

Thanks in advance,

Patricia

The '>' indeed has to go, but the remainder should convert to a regular number.

Hi David,

It´s great! It works!

Thanks!!!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service