![]() |
casting question
quick question. When dividing two variables of different types, is explicit
conversion via casting necessary for accuracy purposes, syntax purposes, or both? Thanks -- N0 Spam Ema|l address. Please, when replying directly, delete "NSPAMO" from email address. Thanks |
Re: casting question
David Eynon wrote:
> even quicker clarification of question....variables of primitive types... > thanks I think it's both. |
Re: casting question
On Tue, 01 Jul 2003 02:41:37 GMT, "David Eynon"
<david.eynon@verNSPAMOizon.net> wrote or quoted : >When dividing two variables of different types, is explicit >conversion via casting necessary for accuracy purposes, syntax purposes, or >both? Thanks Generally not. However, if you do a floating divide in the middle of a sea of int divides or vice versa, you might point that out with a nugatory cast. -- Canadian Mind Products, Roedy Green. Coaching, problem solving, economical contract programming. See http://mindprod.com/jgloss/jgloss.html for The Java Glossary. |
| All times are GMT. The time now is 10:26 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.