Log In  

Cart #strdsum-0 | 2023-02-02 | Code ▽ | Embed ▽ | No License
4

Feature Overview

STRDSUM() sums two numerable strings.

  • The number of digits it can handle exceeds the 32-bit limit. (Probably as long as the system will allow.)
  • Match the string length to the longer of the two arguments.
  • Negative values and decimal values cannot be handled.
  • This function consumes 63 Token.

This code may cause errors in versions prior to 0.2.5c.

?strdsum('32768','32768') -- 65536

?strdsum('500','000500') -- 001000

?strdsum('900109','123456') -- 1023565
P#125166 2023-02-02 12:58


[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2023-03-25 23:38:27 | 0.005s | Q:10