Elektrine lite

← Feed

@monorail@glaceon.social

Post #2402181

2026-03-05 23:43 UTC

i'm finding log_10(n)-1 and dividing n by that and flooring it to get the first digit, then multiplying that by 10^floor(log_10(n)) to move it back into the position it was in in n, then subtracting it from n to remove that digit. then doing a division by 10 and a floor to remove the last digit

Replies (0)

No replies.