JavaScript APIdgFunctionsformatOn this pageformat() format(x, format?): string Parameters ParameterTypexnumberformat?string Returns string Source