Is this spritebatch or a draw primitives.
Either way i suppose it doesn’t matter.
Round your floats to integer amounts set your size to a integer amount.
Sampler state to point or point clamp (the clamp part doesn’t really matter for this either way).