# Gaussian Integration

I have some doubts about it..in fact when you want to calculate an integral numerically..i always use gaussian integration but what would happen if i use this technique to calculate:

Int(0,1000)g(x)[f(x)]dx where [] means the floor function in fact it is a non-continuous function..would be gaussian integration valid in this case?...