Y
Yuan HOng
Hi,
It seems decimal object will always be larger than float in
comparasion, which goes against common sense:
True
It seems to me that rather than allowing this to happen, comparasion
between the two should either be made correct (by convertion decimal
to float e.g.) or forbidden, like arithmatic operations between the
two types.
--
Hong Yuan
´ó¹Ü¼ÒÍøÉϽ¨²Ä³¬ÊÐ
×°ÐÞ×°ä꽨²Äһվʽ¹ºÎï
http://www.homemaster.cn
It seems decimal object will always be larger than float in
comparasion, which goes against common sense:
True
It seems to me that rather than allowing this to happen, comparasion
between the two should either be made correct (by convertion decimal
to float e.g.) or forbidden, like arithmatic operations between the
two types.
--
Hong Yuan
´ó¹Ü¼ÒÍøÉϽ¨²Ä³¬ÊÐ
×°ÐÞ×°ä꽨²Äһվʽ¹ºÎï
http://www.homemaster.cn