algorithmic modeling for Rhino
The numbers in your equations are pretty big. That in itself may cause problems. Note that Grasshopper expressions use 32-bit integers which cannot get bigger than 2,147,483,647. Some of the values in your expressions are as high as 5,230,697,472,000 meaning Grasshopper has to switch to floating point maths. However even with floating points, numbers that big get pretty inaccurate. This is because the 'gaps' between consecutive numbers are bigger the further away from zero you get. Eventually two consecutive numbers may be thousands or millions (or worse) apart.
However in this case the problem is not that the answer is wrong, it's because the answer is so close to zero that Grasshopper assumes it was meant to be exactly zero. Numbers in text panels are rounded so that they can be more easily read. If you want to see the real number, you must use a formatter set up to your liking:
OHH..that means answer is there but we cant see because it is rounded.
So shall i continue with this answer ?
The number is correct, it is only when the number is converted to text that the rounding happens. You should never funnel values through a text panel and then use the output, you very often lose accuracy that way.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by