More than 6.5 million people have been affected by floods in Bihar, that have claimed the lives of over 40 people so far, washed away thousands of huts, badly damaged buildings, roads, bridges and standing crops worth crores, officials said on Tuesday.