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)
The SMUL function performs string multiplication of two base 10-string numbers. It takes the general form:
expr1 and expr2 are strings consisting of numeric characters, with either optionally including a decimal part.
The function can be used with numbers that may exceed a valid range with standard arithmetic operators. The PRECISION declaration does not affect the value returned by SMUL.
An example of use is as:
strA = 243603310027840922 strB = 3760 CRT SMUL (strA, strB) CRT SMUL (0.0000000000000475, 3.61)
to display 915948445704681866720 and 0.0000000000001714 to the screen.
Go back to jBASE BASIC
Go back to Programmers' Reference Guide