StringIsNumber

STRINGISNUMBER returns 1 if the input string contains only a number and otherwise a zero.

Download
Download

You are now following this Submission

Cite As

Michael Robbins (2026). StringIsNumber (https://in.mathworks.com/matlabcentral/fileexchange/6283-stringisnumber), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0

Digits followed by a period but no more digits is now considered a number.

A single period is no longer considered a number.

Vector inputs and outputs are supported.

Download