Thanks Joseph! I'll give that a try. I want to get out of this contract 
soon rather than have to do a full server re-install (which is what they need).

At 18:12 3/11/01 -0800, you wrote:
>I have seen problems with CF "converting" floats to integers.
>
>ie: a value like this:
>
><cfset p=1.0>
>
>needs to be run through a numberFormat()
>
>I only bumped into this once inside a nested structure but... perhaps this
>would fix it?
>
><cfset t = randomize(int(gettickcount()/NumberFormat(p))>
>
>
>
>
> > At 17:32 3/11/01 -0800, you wrote:
> > >C062FD1A-C062-C066-A7B6-A7B6202D6BB93B82
> > >
> > >Works perfectly.  4.5.1 SP2 and Win2k
> >
> > Thanks Joseph and Matt!
> >
> > Must be something screwy with the install they did of the server. The
> > integer error was being generated at this line:
> >
> > ><cfset t = randomize(int(gettickcount()/p))>
> >
> > Any suggestions on an alternative I could use? I might go back to the
> > standard CreateUUID() function to see what happens (on the production
>server).
> >
> > This has to be the weirdest CF application I've ever had to write. It
> > allows food manufacturers to build a list of food ingredients from a
> > database of more than 4,500 ingredients (drawn from a database of more
>than
> > 29,000). It then, depending on total weight/volume of the final food
> > (cooked or uncooked) generate a "food lable" detailing Energy, Protein,
> > Fat, Saturated Fat, Carbohydrates, Sugars and Sodium per 100 gram serving
> > and "per serve".
> >
> > The food labels will be mandatory (in the near future) on all packaged
> > foods in Australia and New Zealand to allow consumers to compare products.
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to