Grasshopper

algorithmic modeling for Rhino

Hi all,

I would like to set more decimal places. Custom number is 6.

Any tips?

Thanks,

Leonardo

Views: 3308

Replies to This Discussion

Do you mean SEE more decimal places. Numbers in grasshopper have a lot more decimal places than those on display but because one millionth of a unit is thought to be the last plausible realm of accuracy they don't get shown.

You can display them but you will have to pass them through an [Expression] or a [Format] Component, where R is a real number

{0:0.000000000} would set it to display 9 decimal places

{0:0.000###} would be 3 decimal places but 6 where significant

{0:0} would be an integer

There are also number format options in the Preferences, but they apply to all numbers everywhere, which may not be what you are after.

If you only want to display some numbers with a custom accuracy then Danny's suggestion is best.

--

David Rutten

david@mcneel.com

Tirol, Austria

Hi David,

Is any chance to have double precision in GH? >15 decimal points accuracy?

I export my data to MATLAB for some matrix analysis and I need high accuracy.

Many thanks!

Marinako

Great, many thanks Tom!

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