So far, whenever I had to work with UInt variables, I wanted to see their value in decimal. Unfortunately, the REPL displays UInt values in hexadecimal:
The trick with Int.(arrayUInt) will work only in cases you have bits to spare. For instance converting UInt32 to Int64 or UInt64 to Int128.
Is there another trick which isn’t limited by this? Something like the trick by @Amin_Yahyaabadi yet works for the current print only and not the whole session?
One can use BigInt.(arrayUInt) which should work. I wonder if there are more options.