Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
SRP_Array Rotate strips decimal number
When I rotate my array to a list, SRP_Array seems to strip my latest number while it shouldn't. This can be reproduced with the following code:
I changed the @VM delimiter to ; for readability. The output is:
arr<1,1> = 1616
arr<1,2> = 1617
arr<1,3> = 1619
arr<1,4> = 1621
arr<2,2> = 0.75
arr<2,3> = 0.25
arr<3,1> = 1
arr<3,2> = 0.5
arr<3,4> = 0.25
arr<4,1> = 0.5
arr<5,2> = 0.5
arr<6,1> =1
arr = SRP_Array("Rotate", arr, @FM, @VM)
Check the last line, where the last element is 0. while it should be 0.25.
1616;;1;0.5;;1
1617;0.75;0.5;;0.5
1619;0.25;
1621;;0.
Comments