generative modeling for Rhino
Tags: E+, notation, number, scientific, view
Permalink Reply by Vicente Soler on October 1, 2009 at 5:23am format("{0}",x)
Permalink Reply by Elizabeth Tweedale on October 1, 2009 at 6:55am
Permalink Reply by Vicente Soler on October 1, 2009 at 7:26am format("{0},{1},{2}",x.x,x.y,x.z)
Permalink Reply by Danny Boyes on October 1, 2009 at 9:08am 
Permalink Reply by Elizabeth Tweedale on October 7, 2009 at 5:45am
Permalink Reply by Danny Boyes on November 10, 2009 at 3:15am 
Permalink Reply by Danny Boyes on November 10, 2009 at 4:56am
Permalink Reply by Charles Aweida on June 28, 2010 at 5:16pm I am reading point coordinates from an excel file and using the data in GH. In excel the format of the numbers are not in scientific notation. When those numbers are represented in GH they are automatically transformed to scientific notation. Consequently, some of the digits are not shown. For example, 166466.9352 in excel becomes 1.6647e+5 in GH. I am concerned that some rounding has taken place and the point will be in the wrong place. Can anyone shed some light on whether the number actually got rounded when used in GH? Is there a way to set the number of digits before rounding. If it got rounded is there a way to ensure the proper number of digits are carried over to GH.
Thank you
Stan
I answered my own question. Undesired rounding is occurring due to the automatic conversion to scientific notation.
I drew a point with the actual coordinates and compared it to the point baked in GH (scientific notation). The points were not in the same place. This is a concerning discrepancy. It seems if you put in the right coordinates, you should get the right point, not a rounded coordinate.
Any thoughts?
Stan
© 2012 Created by Scott Davidson.
Powered by