format numbers in database page