i do believe that notes output string variables, not doubles or floats
(even if you passed them as input, there's an automatic conversion
going on), so what you were actually passing into the round function
was a string...

On Dec 17, 9:39 pm, opposablethumbs <[email protected]> wrote:
> ah man, i had the function right all along then!
> i had the result of a function going into a note, then taking the
> output of the note into a function component and doing the round.
> it wasn't taking the note value as X in the function.
>
> http://groups.google.com/group/grasshopper3d/web/functionWithNoteInpu...
>
> i bypassed the note and it works fine.
> why is that?
> thanks.
>
> On Dec 17, 2:17 pm, Dimitrie <[email protected]> wrote:
>
> > round(number_you_want_to_round, how_many_decimals_you_want_to_have)
> > hope it helps.
>
> > On Dec 17, 7:26 pm, opposablethumbs <[email protected]> wrote:
>
> > > can anyone help me out with the syntax?
> > > i can't tell what is supposed to be in the brackets.
>
> > > i want it to round and limit the decimel places out to the
> > > thousandth's.
>
> > > thanks.

Reply via email to