the reason is dat 0.7 is treated as double..therefore double(0.7) >float(0.7)
On Fri, Aug 5, 2011 at 8:20 PM, kartik sachan <[email protected]>wrote: > the output will be hi > > even if u have putted equal to sign there this is becoz 0.7 do not exactly > stored like 0.7 in a but some thing lesser as describe in ASCII format > that's why it is awlays lesser than 0.7 > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Regards, Kamakshi [email protected] -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
