so the value in the arch might read 0.33 the server code will remove the . when reading it and put it at 33 internally?
--- Brendan Lally <[EMAIL PROTECTED]> wrote: > On 12/25/05, Miguel Ghobangieno > <[EMAIL PROTECTED]> wrote: > > Exactly. > > > > I'd like the value var to be a double so we can > add > > copper coins ... > > That could lead to all sorts of fun rounding errors. > > Probably it would be best to use a 64bit int, and > store value*10000 or > so - that way you could have 4 values after the > decimal point, and > still not have errors due to floating point maths. > > _______________________________________________ > crossfire mailing list > crossfire@metalforge.org > http://mailman.metalforge.org/mailman/listinfo/crossfire > __________________________________ Yahoo! for Good - Make a difference this year. http://brand.yahoo.com/cybergivingweek2005/ _______________________________________________ crossfire mailing list crossfire@metalforge.org http://mailman.metalforge.org/mailman/listinfo/crossfire