{⌊1⌋, ⌊3.14⌋, ⌊2.718⌋}

Plot3D[(((-1))^(⌊x⌋+⌊y⌋)),{x,0,8},{y,0,8}, PlotPoints->64]