On Tue, 7 Oct 1997, Rich Chiavaroli wrote: >float a; > >a = 10 / 100; This is doing integer division and an integer cannot store .1 Try 10.0 / 100.0, you will be dividing two floats there. -- George Greer - Me@Null.net | Genius may have its limitations, but stupidity http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST