jasmine.NumberField setDecimalFormat if the parameter is a string, it is assumed it is the pattern (from jasmine.specs)