SMUL function

Syntax

SMUL (string.number.1, string.number.2)

Description

Use the SMUL function to multiply two string numbers and return the result as a string number. You can use this function in any expression where a string or string number is valid, but not necessarily where a standard number is valid, because string numbers can exceed the range of numbers that standard arithmetic operators can handle.

Either string number can be any valid number or string number.

If either string number contains nonnumeric data, an error message is generated and 0 is used for that number. If either string number evaluates to the null value, null is returned.

Example

X = "5436"
Y = "234"
Z = SMUL (X,Y)
PRINT Z

This is the program output:

1272024