Vround replacement?


    Mar 27 2007 | 1:07 pm
    hi,
    Does anyone know of a UB (ie MacIntel) equivalent to Vround?
    "Vround calculates the integer nearest to the value given (either a list or a single number)."
    thanks
    David

    • Mar 27 2007 | 1:33 pm
    • Mar 27 2007 | 1:48 pm
      http://www.maxobjects.com/? request=round&operateur=AND&id_plateforme=UB&Submit=OK
      round Lround f0.round roundto ...
    • Mar 27 2007 | 2:44 pm
      Nice - thanks. I didn't know you could do that.
      On 27 Mar 2007, at 14:33, jeanfrancois.charles wrote:
      > The following is a version working only with positive numbers: >
    • Mar 27 2007 | 2:50 pm
      Indeed. I have no idea why I didn't use Lround in the first place, given that I've been using the LObjects for years. Hey ho.
      On 27 Mar 2007, at 14:48, mathieu.chamagne@gmail.com wrote:
      > http://www.maxobjects.com/? > request=round&operateur=AND&id_plateforme=UB&Submit=OK > > round > Lround > f0.round > roundto > ... > > www.maxobjects.com > http://mathieu.chamagne.free.fr > >
    • Mar 28 2007 | 10:54 am
      David Stevens schrieb: > Does anyone know of a UB (ie MacIntel) equivalent to Vround?
      jeanfrancois.charles schrieb: > General advice: try not to use externals when you can use a simple > abstraction. The following is a version working only with positive > numbers:
      If you have an old patch with that external you'd rather try to mimic it completely, Vround will also accept symbols within the list...
      Try this as abhaXion... (it would even run in Windows and if the sparc version of lround doesn't come up fast enough it will do it as well... ;-)
      -- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|-----|-----()------- -- _|_)----|-----()-------------- ----------()--------www.ccmix.com
    • Mar 28 2007 | 12:00 pm
      > Try this as abhaXion... > (it would even run in Windows and if the sparc version of lround doesn't > come up fast enough it will do it as well... ;-)
      It's a great one, indeed. Seems also compatible with the 4X.
    • Mar 28 2007 | 12:55 pm
      Nice. Thanks for that.
      David
      On 28 Mar 2007, at 11:54, Stefan Tiedje wrote:
      > David Stevens schrieb: >> Does anyone know of a UB (ie MacIntel) equivalent to Vround? > > jeanfrancois.charles schrieb: >> General advice: try not to use externals when you can use a simple >> abstraction. The following is a version working only with positive >> numbers: > > If you have an old patch with that external you'd rather try to > mimic it completely, Vround will also accept symbols within the > list... > > Try this as abhaXion... > (it would even run in Windows and if the sparc version of lround > doesn't > come up fast enough it will do it as well... ;-)