brainiacoutcast
MModular
•Created by brainiacoutcast on 2/17/2024 in #questions
casting from smaller to larger integer
Good evening, sorry for making a whole post about something so basic but I'm honestly stumped. I just started using mojo today, past experience is a lot of rust and some c, and I can't figure out how to cast between integer types. Every type parameter I try plugging into the cast method is wrong, I couldn't find anything else that sounded right in the library docs, and kapa.ai comes up empty handed.
3 replies