# NUMS

*

Updated: 10/19/2021, 9:29:48 PM
Created: 10/19/2021, 9:29:48 PM
Last Updated By: Kevin Munoz
Read Time: 1 minute(s)

# Description

The NUMS function is used to determine whether the elements of a dynamic array are numeric or non-numeric strings. The function takes the general form:

NUMS(dynamic.array)
1

If an element is numeric, a numeric string, or an empty string, it evaluates to true, and returns a value of 1 to the corresponding element in a new dynamic array. If the element is a non-numeric string, it evaluates to false, and returns a value of 0.

The NUMS of a numeric element with a decimal point ( . ) evaluates to true; the NUMS of a numeric element with a comma ( , ) or dollar sign ( $ ) evaluates to false.

If dynamic.array evaluates to null, it returns null. If an element of dynamic.array is null, it returns null for that element.

# International Mode

When using the NUMS function in International Mode, the statement will use the Unicode Standard to determine whether an expression is numeric.

Go back to jBASE BASIC

Go back to Programmers' Reference Guide