Format number. Replace , with . and vice versa