Modulo operator (#) returns a purely numeric value if dividend has numeric portion followed by non-numeric portion
Final Release Note
The modulo operator (#) returns a purely numeric value in case the dividend is a numeric portion followed by a non-numeric portion and the divisor is greater than the numeric portion of the string. Previously it would incorrectly return the result with the non-numeric portion appended. [#692 (closed)]
Description
version 1.28 64 bit linux I believe this is a bug. If you have a string value "315834;CCFCERNRX,65787,40868;CCFCERNRX,65787,40868;--;1", and Modulo divide it with a number large than the numeric portion of the string, it returns the entire string, not the numeric value only. IE if you modulo the indicated value W RC#100000000 it returns the then entire string, not just the numeric remainder.
Draft Release Note
The modulo operator (#
) now returns a purely numeric value in case the dividend is a mix of a numeric portion followed by a string portion and the divisor is greater than the numeric portion of the string. Previously it would incorrectly return the dividend (which contained a string portion too) as the result in this case (e.g. 1;a
instead of just the leading numeric portion 1
).