Added one method in numberformater class