Grasshopper

algorithmic modeling for Rhino

Maybe this is just a stupid question, but I wonder why the panel tool shows the number with two different expressions:

Views: 2622

Replies to This Discussion

"this funny way" is called scientific notation.

In basic terms 2.0441e+4 means if you move the decimal place 4 spaces to the right it will be in the correct place. For instance if you had a large real number like 5,647,892.235698 once you get into the tens  the actual numbers are pretty insignificant in the big picture so you can express it as 5.6479e+6 and its the e+6 which indicates that its in the millions.

If you wish to display the numbers in the panel in the long format then you can use a VB format() function in an Fx component where F = format({0:0.00},x)

The example I show below is how to format a point.

See here for more: http://www.grasshopper3d.com/forum/topics/e005-number-view-change-to

Perfect, thanks!

The linked post is very useful. Cheers

EDIT: The formula should have been F = format("{0:0.00}",x) as shown in the Image

Noticed, thanks!

:)

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service